Skip to content
ryanquincypaul edited this page Oct 7, 2016 · 1 revision

minimum-wage

A Clojure powered RESTful web service providing State and Federal minimum wage data.

Table-of-Contents

Preface

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

Years

Lists the available years that contain either State or Federal minimum wage data.

/years

Response

{
  "years": [{
    "year": "2015",
    "url": "/years/2015",
    "states_url": "/years/2015/states",
    "federal_wage_info_url": "/years/2015/federal"
  }],
  "url": "/years"
}

Year

Gets URLs to navigate data in a given year.

/years/:year

Response

{
  "year": "2016",
  "url": "/years/2016",
  "states_url": "/years/2016/states",
  "federal_wage_info_url": "/years/2016/federal",
  "all_years_url": "/years"
}

States

Lists all the states that contain wage data for a year.

/years/:year/states

Response

{
  "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"
}

State

Gets wage information for a state in a given year.

/years/:year/states/:state-postal-abbreviation

Response

{
  "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"
}

Federal

Gets federal wage data for a given year.

/years/:year/federal

Response

{
  "year": "2016",
  "minimum-wage": "7.25",
  "url": "/years/2016/federal",
  "states_url": "/years/2016/states",
  "year_url": "/years/2016"
}
Clone this wiki locally