-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ryanquincypaul edited this page Oct 7, 2016
·
1 revision
A Clojure powered RESTful web service providing State and Federal minimum wage data.
All of these calls must be appended to the end of the website hosting the service. Currently that is...
http://fairpay.azurewebsites.net/minimum-wage
Lists the available years that contain either State or Federal minimum wage data.
/years
{
"years": [{
"year": "2015",
"url": "/years/2015",
"states_url": "/years/2015/states",
"federal_wage_info_url": "/years/2015/federal"
}],
"url": "/years"
}
Gets URLs to navigate data in a given year.
/years/:year
{
"year": "2016",
"url": "/years/2016",
"states_url": "/years/2016/states",
"federal_wage_info_url": "/years/2016/federal",
"all_years_url": "/years"
}
Lists all the states that contain wage data for a year.
/years/:year/states
{
"year": "2016",
"states": [{
"state": "Michigan",
"postalcode": "MI",
"url": "/years/2016/states/mi"
}, {
"state": "Minnesota",
"postalcode": "MN",
"url": "/years/2016/states/mn"
}, {
"state": "Mississippi",
"postalcode": "MS",
"url": "/years/2016/states/ms"
}],
"url": "/years/2016/states",
"year_url": "/years/2016",
"federal_wage_info_url": "/years/2016/federal"
}
Gets wage information for a state in a given year.
/years/:year/states/:state-postal-abbreviation
{
"year": "2016",
"state": "Michigan",
"postalcode": "MI",
"minimum-wage": "8.50",
"url": "/years/2016/states/mi",
"year_url": "/years/2016",
"federal_wage_info_url": "/years/2016/federal"
}
Gets federal wage data for a given year.
/years/:year/federal
{
"year": "2016",
"minimum-wage": "7.25",
"url": "/years/2016/federal",
"states_url": "/years/2016/states",
"year_url": "/years/2016"
}