Datafable / epu-index

EPU index
http://www.applieddatamining.com/cms/?q=content/economic-policy-uncertainty-index
1 stars 0 forks source link

REST endpoint #2

Closed bartaelterman closed 9 years ago

bartaelterman commented 9 years ago

Create a REST endpoint where all data can be retrieved. So sending a HTTP GET request to this endpoint should result in the following response:

{
    records: [
        {
            "date": "2015-01-30",
            "epu": 2.5
        },
        {
            "date": "2015-01-31",
            "epu": 5.3
        }
    ]
}
niconoe commented 9 years ago

Done, see at https://epu-index.herokuapp.com/api (there's a free exploratory interface provided by Django-rest-framework).

bartaelterman commented 9 years ago

Sweet!