-
Notifications
You must be signed in to change notification settings - Fork 4
/
sample-data-and-code.html
207 lines (204 loc) · 12.6 KB
/
sample-data-and-code.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="icon" type="image/png" sizes="32x32" href="https://screeningapidocs.cityofnewyork.us/images/favicon/favicon-32x32.png">
<link rel="shortcut icon" href="https://screeningapidocs.cityofnewyork.us/images/favicon/favicon.ico">
<title>Sample Data and Code | NYC Benefits Platform | Screening API</title>
<meta property="og:title" content="Sample Data and Code | NYC Benefits Platform | Screening API" />
<meta property="og:type" content="website" />
<meta property="og:description" content="Screen clients for benefits at scale or create new benefits screening tools. Send household composition data to eligibility rules for 35+ City, State, and Federal programs including SNAP, Cash Assistance, WIC, HEAP, and more." />
<meta name="description" content="Screen clients for benefits at scale or create new benefits screening tools. Send household composition data to eligibility rules for 35+ City, State, and Federal programs including SNAP, Cash Assistance, WIC, HEAP, and more." />
<meta property="og:image" content="https://screeningapidocs.cityofnewyork.us/images/social.png" />
<meta property="og:image:alt" content="NYC Benefits Platform | Screening API by The Mayor's Office for Economic Opportunity" />
<meta name="twitter:image:alt" content="NYC Benefits Platform | Screening API by The Mayor's Office for Economic Opportunity" />
<meta name="twitter:card" content="summary_large_image" />
<link href="css/style.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.9.1/showdown.min.js" integrity="sha512-L03kznCrNOfVxOUovR6ESfCz9Gfny7gihUX/huVbQB9zjODtYpxaVtIaAkpetoiyV2eqWbvxMH9fiSv5enX7bw==" crossorigin="anonymous"></script>
<meta name="robots" content="noindex,nofollow">
</head>
<body>
<a href="#main-content" class="sr-only">Skip to main content</a>
<header class="o-header tablet:layout-sidebar w-full">
<div class="o-header__banner-main color-dark-background tablet:justify-start p-4 py-3 tablet:py-6">
<h1 class="o-header__main-title text-start text-default font-default font-normal m-0 tablet:text-h4" style="line-height: 1em">
<a class="block font-normal" href="index">
<span class="sr-only">NYC Benefits Platform | Screening API</span>
<svg class="icon-logo-nyc mb-1 hidden tablet:block" style="width: 144px; height: 47px" aria-hidden="true">
<use xlink:href="#icon-logo-nyc"></use>
</svg>
<svg class="icon-logo-nyc mb-1 tablet:hidden" style="width: 102px; height: 34px" aria-hidden="true">
<use xlink:href="#icon-logo-nyc"></use>
</svg>
<div aria-hidden="true">
<b class="whitespace-nowrap block desktop:block">Benefits Platform</b>
<span class="px-1 hidden">|</span>
<span class="whitespace-nowrap block desktop:block">Screening API</span>
</div>
</a>
</h1>
<a data-js="toggle" aria-expanded="false" href="#aria-c-navigation" class="tablet:hidden">Menu</a>
</div>
<div class="o-header__banner-secondary layout-content color-primary-background hidden tablet:flex">
<div class="o-content mx-auto">
<h2 class="o-header__secondary-title tablet:text-jumbo">Sample Data and Code</h2>
</div>
</div>
</header>
<div class="tablet:layout-sidebar tablet:flex items-stretch m-0 p-0 min-h-screen">
<aside class="o-navigation color-mid-background">
<div class="o-navigation__wrap hidden tablet:block">
<div class="o-navigation__nav">
<nav class="mb-2" aria-label="Guide">
<span class="o-navigation__link-header text-grey border-b border-grey-70t px-1 mb-1">Guide</span>
<a class="o-navigation__link no-underline px-1" href="overview">Overview</a>
<a class="o-navigation__link no-underline px-1" href="getting-started">
<span class="small font-normal">01</span> Getting Started
</a>
<a class="o-navigation__link no-underline px-1" href="http://eepurl.com/gfLTuH" target="_blank">
<span class="small font-normal">02</span> Request an Account
</a>
<a class="o-navigation__link no-underline px-1" href="token-based-authentication">
<span class="small font-normal">03</span> Token Based Authentication
</a>
<a class="o-navigation__link no-underline px-1" href="making-a-request">
<span class="small font-normal">04</span> Making a Request
</a>
<a class="o-navigation__link no-underline px-1" href="endpoints">
<span class="small font-normal">05</span> Endpoints
</a>
<a class="o-navigation__link no-underline px-1" href="sample-data-and-code">
<span class="small font-normal">06</span> Sample Data and Code
</a>
<a class="o-navigation__link no-underline px-1" href="feedback-and-support">
<span class="small font-normal">07</span> Feedback and Support
</a>
</nav>
<nav class="mb-2" aria-label="Tools">
<span class="o-navigation__link-header text-grey border-b border-grey-70t px-1 mb-1">Tools</span>
<a class="o-navigation__link no-underline px-1" href="request-builder">Request Builder</a>
<a class="o-navigation__link no-underline px-1" href="change-password-form">Change Password Form</a>
<a class="o-navigation__link no-underline px-1" href="bulk-submission-form">Bulk Submission Form</a>
</nav>
<nav class="mb-2" aria-label="Reference">
<span class="o-navigation__link-header text-grey border-b border-grey-70t px-1 mb-1">Reference</span>
<a class="o-navigation__link no-underline px-1" href="eligibility-guidelines">Eligibility Guidelines</a>
<a class="o-navigation__link no-underline px-1" href="terms-of-service">Terms of Service</a>
</nav>
</div>
</div>
<div class="o-navigation__wrap tablet:hidden hidden" id="aria-c-navigation" data-js="navigation" tabindex="-1">
<div class="o-navigation__nav">
<nav class="mb-2" aria-label="Guide">
<span class="o-navigation__link-header text-grey border-b border-grey-70t px-1 mb-1">Guide</span>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="overview">Overview</a>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="getting-started">
<span class="small font-normal">01</span> Getting Started
</a>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="http://eepurl.com/gfLTuH" target="_blank">
<span class="small font-normal">02</span> Request an Account
</a>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="token-based-authentication">
<span class="small font-normal">03</span> Token Based Authentication
</a>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="making-a-request">
<span class="small font-normal">04</span> Making a Request
</a>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="endpoints">
<span class="small font-normal">05</span> Endpoints
</a>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="sample-data-and-code">
<span class="small font-normal">06</span> Sample Data and Code
</a>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="feedback-and-support">
<span class="small font-normal">07</span> Feedback and Support
</a>
</nav>
<nav class="mb-2" aria-label="Tools">
<span class="o-navigation__link-header text-grey border-b border-grey-70t px-1 mb-1">Tools</span>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="request-builder">Request Builder</a>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="change-password-form">Change Password Form</a>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="bulk-submission-form">Bulk Submission Form</a>
</nav>
<nav class="mb-2" aria-label="Reference">
<span class="o-navigation__link-header text-grey border-b border-grey-70t px-1 mb-1">Reference</span>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="eligibility-guidelines">Eligibility Guidelines</a>
<a class="o-navigation__link no-underline px-1" tabindex="-1" href="terms-of-service">Terms of Service</a>
</nav>
<button data-js="toggle" aria-expanded="false" aria-controls="aria-c-navigation" tabindex="-1" class="p-1 btn w-full mb-2">Close</button>
</div>
</div>
</aside>
<main id="main-content" class="color-light-background py-4 tablet:py-8 px-4 desktop:px-6">
<div class="mb-4">
<div class="flex items-center color-light-background border border-green bg-green-30t p-2" role="alert">
<div class="pie-2">
<svg aria-hidden="true" class="icon-ui mie-1">
<use xlink:href="#feather-info"></use>
</svg>
</div>
<div>
<h2 class="h5">Draft Mode</h2>
<div class="o-content">
<p>This site is being served from the <b>drafts/</b> directory and Markdown content is pulling from the <a href="https://github.com/CityOfNewYork/screeningapi-docs/tree/drafts" target="_blank">drafts content branch</a>.
<ul>
<li>For content managers; to view live content remove <b>drafts/</b> from the url.</p>
</li>
<li>For developers; to view live content restart with the <b>npm run production</b> script.</p>
</li>
</ul>
</div>
</div>
</div>
</div>
<header class="layout-content tablet:hidden">
<h2 class="mb-4 mx-auto">Sample Data and Code</h2>
</header>
<article class="layout-content pb-4">
<section class="o-content mx-auto">
<div id="markdown-sample-code-and-sdks"></div>
</section>
</article>
</main>
</div>
<footer class="o-footer color-dark-background border-navy-70t">
<div class="layout-wrap mx-auto">
<div class="o-footer__divider border-navy-70t desktop:flex desktop:layout-sidebar mb-4">
<div class="pb-4">
<a class="block" href="http://nyc.gov/opportunity" title="NYC Opportunity<[email protected]>">
<svg aria-hidden="true" class="o-footer__logo">
<use xlink:href="#icon-logo-secondary"></use>
</svg>
<span class="sr-only">The Mayor's Office for Economic Opportunity</span>
</a>
</div>
<div class="pb-4 desktop:pl-4 desktop:flex justify-end items-center">
<nav class="o-footer__inline-nav">
<a href="overview">Overview</a>
<a href="getting-started">Getting Started</a>
<a href="feedback-and-support">Feedback and Support</a>
<a href="terms-of-service">Terms of Service</a>
</nav>
</div>
</div>
<div class="desktop:grid desktop:grid-cols-2">
<div>
<p>
<a href="http://nyc.gov/opportunity">The Mayor's Office for Economic Opportunity</a> (NYC Opportunity) is committed to sharing open source software that we use in our products. Feel free to ask questions and share feedback. Follow @nycopportunity on <a href="https://twitter.com/nycopportunity">Twitter</a>, <a href="https://www.facebook.com/NYCOpportunity/">Facebook</a>, <a href="https://medium.com/@nycopportunity">Medium</a>, and <a href="https://github.com/NYCOpportunity/">Github</a>.
</p>
</div>
<div class="desktop:text-end">
<small> © City of New York, 2021 All Rights Reserved.
<br> NYC is a trademark and service mark of the City of New York.
</small>
</div>
</div>
</div>
</footer>
<script crossorigin='anonymous' src='https://polyfill.io/v3/polyfill.min.js?flags=gated&features=Array.prototype.forEach,Element.prototype.matches,Element.prototype.remove,fetch,Promise'></script>
<script src="js/main.js"></script>
</body>
</html>