From eae3b245bb2629d83f5e20144401d45a7fea8e8d Mon Sep 17 00:00:00 2001 From: Samantha Piatt Date: Fri, 5 Apr 2024 12:49:55 -0400 Subject: [PATCH] Add get started page. --- src/routes/api/help/+page.svelte | 4 +- src/routes/api/start/+page.svelte | 92 ++++++++++++++++++++++++++++++- 2 files changed, 92 insertions(+), 4 deletions(-) diff --git a/src/routes/api/help/+page.svelte b/src/routes/api/help/+page.svelte index 9666a2e6..778f6fa7 100644 --- a/src/routes/api/help/+page.svelte +++ b/src/routes/api/help/+page.svelte @@ -113,14 +113,12 @@ } h2 { font-size: 1.75em; + margin: 0 0 0.5em; } p { display: block; margin: 1em; } - h2 { - margin: 0 0 0.5em; - } .img-placeholder { width: 80%; margin: 3em auto; diff --git a/src/routes/api/start/+page.svelte b/src/routes/api/start/+page.svelte index 3e52e48e..c2d9efa8 100644 --- a/src/routes/api/start/+page.svelte +++ b/src/routes/api/start/+page.svelte @@ -1,5 +1,6 @@ @@ -8,6 +9,95 @@ Back -

Get Started

+

Get Started with the PIC-SURE API

+ + +
Placeholder image
+ +
+

Personal User Token

+

+ The personal security token is a unique string of characters that serves as a credential to + authenticate a specific user and grant them access to protected data or services via an API. + Personal security tokens serve as a means of authenticating and authorizing access to + sensitive information. Maintaining the privacy and security of your personal security token is + essential. +

+
+ +
+

Accessing the PIC-SURE API

+
    +
  • Copy your security token below
  • +
  • + Navigate to the analysis environment where you will be accessing data or running the example + notebooks +
  • +
  • + Create a file called token.txt and paste the user token into it. Save the file in the + home folder +
  • +
+
+ +
+ +
+ +
+

PIC-SURE API Examples

+

+ Explore Python or R notebook examples available in the public GitHub repository. These + examples showcase how to extract participant-level data from the NHANES (National Health and + Nutrition Examination Survey) dataset and conduct an initial exploration and visualization of + the data. +

+ +
+ +
+ +