DOL's Open Source Code

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.

SDKs

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.

Sample Apps

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.

Applications

Each of our mobile apps have been open-sourced. Additionally, we have web and desktop apps that you can use, improve, or build upon.

API Status

A Mac menu bar app that can be used to monitor the availability of any web API.

DOL Timesheet

An iOS app that allows you to track your hours and see if you might be owed overtime.

Labor Stats (Android)

Keep up to date on the latest economic indicators from DOL (ETA & BLS).

Labor Stats (iOS)

Keep up to date on the latest economic indicators from DOL (ETA & BLS).

OSHA Heat Safety

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).

OSHA Heat Safety (Android - English)

Find out what the heat index is, the risk level, and ways to stay safe.

OSHA Heat Safety (Android - Spanish)

Find out what the heat index is, the risk level, and ways to stay safe.

OSHA Heat Safety (Blackberry)

Find out what the heat index is, the risk level, and ways to stay safe.

OSHA Heat Safety (iOS)

Find out what the heat index is, the risk level, and ways to stay safe.

Strategy Tracker (iPad)

Track agencies' progress in implementing the digital government strategy. A sample of using the iOS SDK.

Was This Page Helpful?

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.

JS Dashboard

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.

Mobile Accessibility Test Script

A script to follow when testing the accessibility of mobile apps.

Conversions

A Swift class that exposes functions that enable common conversions between US (Imperial) and metric measurements.