This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
/
code.html
187 lines (151 loc) · 9.51 KB
/
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
---
layout: page
title: DOL's Open Source Code
---
<div class='limiter pad2y pad4x clearfix'>
<div class='col7 pad4y'>
<h2>DOL's Open Source Code</h2>
<p>You are free to use any of this code in your project or improve on it. If you do fork the any of the code and improve on it, we would welcome your pull requests for review. </p><!--<p>In addition to the documentation for the open source projects, the documentation for our API (and this page) is forkable.</p>-->
</div>
<div class='margin1 col4 pad4y nav'>
<a href='#sdks' class='truncate contain clearfix pad2 keyline-bottom'>
<i class="fa fa-puzzle-piece fa-2x"></i>
<span class='prose'>SDKs</span>
</a>
<a href='#samples' class='truncate contain clearfix pad2 keyline-bottom'>
<i class="fa fa-file-code-o fa-2x"></i>
<span class='prose'>Sample Apps</span>
</a>
<a href='#applications' class='truncate contain clearfix pad2'>
<i class="fa fa-code fa-2x"></i>
<span class='prose'>Applications</span>
</a>
<a href='#everythingelse' class='truncate contain clearfix pad2'>
<i class="fa fa-asterisk fa-2x"></i>
<span class='prose'>Everything Else</span>
</a>
</div>
</div>
<!-- Bottom reader columns -->
<!-- begin -->
<div class='limiter clearfix'>
<div class='col12 pad4y pad4x fill-grey keyline-top'>
<div class='contain clip limiter row12 clearfix'>
<div class='col7'>
<h2><a class='data' href='#sdks' id='sdks'> SDKs </a> </h2>
Our federal data SDKs are built to make accessing data from DOL's API as well as APIs from across the federal government a simple process for developers of all skill levels. With the SDKs, there's no need to worry about different API standards.
</div>
<div class='col4 pad4x'>
<h3><a href='https://USDepartmentofLabor.github.io/Android_DOLDataSDK'> Android </a></h3>
<p> </p>
<h3><a href='https://USDepartmentofLabor.github.io/BlackBerry_DOLDataSDK'> Blackberry </a></h3>
<p> </p>
<h3><a href='https://USDepartmentofLabor.github.io/ColdFusion-Federal-SDK'> ColdFusion </a></h3>
<p> </p>
<h3><a href='https://USDepartmentofLabor.github.io/DOLDataSDK-iOS'> iOS </a></h3>
<p> </p>
<h3><a href='https://github.com/USDepartmentofLabor/DotNet_DOLDataSDK'> .Net (C#)</a></h3>
<p> </p>
<h3><a href='https://USDepartmentofLabor.github.io/PHP_DOLDataSDK'> PHP </a></h3>
<p> </p>
<h3><a href='https://USDepartmentofLabor.github.io/Ruby_DOLDataSDK'> Ruby </a></h3>
<p> </p>
<h3><a href='https://USDepartmentofLabor.github.io/Swift-Federal-Data-SDK'> Swift </a></h3>
<p> </p>
</div>
</div>
</div>
</div>
<!-- next -->
<div class='col12 pad4y pad4x fill-{{post.background-color}} keyline-top'>
<div class='contain clip limiter row12 clearfix'>
<div class='col7'>
<h2><a class='data' href='#samples' id='samples'> Sample Apps </a> </h2>
Each of these sample apps are examples of how to access DOL's API using the federal data SDKs. Use these to learn what to do or take some or all of the code for your app.
</div>
<div class='col4 pad4x'>
<h3><a href='http://usdepartmentoflabor.github.io/Android-Sample-App'> Android </a></h3>
<p> </p>
<h3><a href='http://usdepartmentoflabor.github.io/Blackberry-Sample-App'> Blackberry </a></h3>
<p> </p>
<h3><a href='http://usdepartmentoflabor.github.io/ColdFusion-Sample-App'> ColdFusion </a></h3>
<p> </p>
<h3><a href='http://usdepartmentoflabor.github.io/iOS-Sample-App'> iOS </a></h3>
<p> </p>
<h3><a href='http://developer.dol.gov/sdk-documentation/net-dol-data-sdk-sample'> .Net (C#)</a></h3>
<p> </p>
<h3><a href='http://developer.dol.gov/sdk-documentation/windows-phone-7-dol-data-sample'> .Net (C#) - Windows Phone</a></h3>
<p> </p>
<h3><a href='http://usdepartmentoflabor.github.io/PHP-Sample-App'> PHP </a></h3>
<p> </p>
<h3><a href='http://usdepartmentoflabor.github.io/Ruby-Sample-App'> Ruby </a></h3>
<p> </p>
<h3><a href='http://usdepartmentoflabor.github.io/Swift-Sample-App/'> Swift </a></h3>
<p> </p>
</div>
</div>
</div>
<!-- next -->
<div class='limiter clearfix'>
<div class='col12 pad4y pad4x fill-grey keyline-top'>
<div class='contain clip limiter row12 clearfix'>
<div class='col3'>
<h2><a class='data' href='#applications' id='applications'> Applications </a> </h2>
Each of our mobile apps have been open-sourced. Additionally, we have web and desktop apps that you can use, improve, or build upon.</div>
<div class='col4 pad4x'>
<h3><a href='https://github.com/USDepartmentofLabor/API-Status'> API Status </a></h3>
<p>A Mac menu bar app that can be used to monitor the availability of any web API.</p>
<h3><a href='https://github.com/USDepartmentofLabor/DOL-Timesheet'> DOL Timesheet </a></h3>
<p>An iOS app that allows you to track your hours and see if you might be owed overtime.</p>
<h3><a href='https://github.com/USDepartmentofLabor/LaborStats-Android'> Labor Stats (Android) </a></h3>
<p>Keep up to date on the latest economic indicators from DOL (ETA & BLS).</p>
<h3><a href='http://pillbox.nlm.nih.gov/developer.html#api'> Labor Stats (iOS) </a></h3>
<p>Keep up to date on the latest economic indicators from DOL (ETA & BLS).</p>
<h3><a href='https://github.com/USDepartmentofLabor/OSHA-Heat-Safety'> OSHA Heat Safety </a></h3>
<p>Desktop version of the OSHA Heat Safety Tool, created as a proof of concept by the Office of Public Affairs in response to a suggestion from the public. Inside the ZIP file is the compiled app that you can run on your computer (Mac).</p>
<h3><a href='https://github.com/USDepartmentofLabor/OSHA-Heat-Safety-Android-En'> OSHA Heat Safety (Android - English) </a></h3>
<p>Find out what the heat index is, the risk level, and ways to stay safe.</p>
</div>
<div class='col4 pad4x'>
<h3><a href='https://github.com/USDepartmentofLabor/OAHA-Heat-Safety-Android-Es'> OSHA Heat Safety (Android - Spanish) </a></h3>
<p>Find out what the heat index is, the risk level, and ways to stay safe.</p>
<h3><a href='https://github.com/USDepartmentofLabor/OSHA-Heat-Safety-Blackberry'> OSHA Heat Safety (Blackberry) </a></h3>
<p>Find out what the heat index is, the risk level, and ways to stay safe.</p>
<h3><a href='https://github.com/USDepartmentofLabor/OSHA-Heat-Safety-iOS'> OSHA Heat Safety (iOS) </a></h3>
<p>Find out what the heat index is, the risk level, and ways to stay safe.</p>
<h3><a href='https://github.com/USDepartmentofLabor/StrategyTrackeriPad'> Strategy Tracker (iPad) </a></h3>
<p>Track agencies' progress in implementing the digital government strategy. A sample of using the iOS SDK.</p>
<h3><a href='https://github.com/USDepartmentofLabor/HelpfulRedist'> Was This Page Helpful? </a></h3>
<p>The solution begins with the question "Was this page helpful," which captures the feedback from the user about the page that is displayed on the browser. This can be easily integrated in all or desired pages as per the need.</p>
</div>
</div>
</div>
</div>
<!-- next -->
<div class='col12 pad4y pad4x fill-{{post.background-color}} keyline-top'>
<div class='contain clip limiter row12 clearfix'>
<div class='col7'>
<h2><a class='data' href='#everythingelse' id='everythingelse'> Everything Else </a> </h2>
</div>
<div class='col4 pad4x'>
<h3><a href='https://github.com/USDepartmentofLabor/JS-Dashboard'> JS Dashboard </a></h3>
<p>This code illustrates how to create a dashboard that will display graphs using the JIT, FLOT, and jQuery cycle API's in a section of a website.</p>
<h3><a href='https://github.com/USDepartmentofLabor/Mobile-Accessibility-Test-Script'> Mobile Accessibility Test Script </a></h3>
<p>A script to follow when testing the accessibility of mobile apps.</p>
<h3><a href='https://github.com/USDepartmentofLabor/Mobile-Accessibility-Test-ScriptConversions'> Conversions </a></h3>
<p>A Swift class that exposes functions that enable common conversions between US (Imperial) and metric measurements.</p>
<!-- <h3><a href='{{post.link3}}'> ColdFusion </a></h3>
<p> </p>
<h3><a href='{{post.link3}}'> iOS </a></h3>
<p> </p>
<h3><a href='{{post.link3}}'> .Net (C#)</a></h3>
<p> </p>
<h3><a href='{{post.link3}}'> .Net (C#) - Windows Phone</a></h3>
<p> </p>
<h3><a href='{{post.link3}}'> PHP </a></h3>
<p> </p>
<h3><a href='{{post.link3}}'> Ruby </a></h3>
<p> </p>-->
</div>
</div>