An API for the BLUME data of Berlin.
The current version of the API is not deloyed and is just for research purposes.
This Sinatra application can be started with the following shell command:
$ ruby api.rb
This starts the development server which can be accessed via http://localhost:4567.
Here is a list of API paths which can also be found in api.rb:
- As JSON:
/api/v1/stations
- As JSON:
/api/v1/stations/:station_id
- As CSV:
/api/v1/stations/:station_id/csv
- As JSON:
/api/v1/stations/:station_id/sensordata/:year
- As CSV:
/api/v1/stations/:station_id/sensordata/:year/csv
- As JSON:
/api/v1/sensordata/:year
- As CSV:
/api/v1/sensordata/:year/csv
- As JSON:
/api/v1/recent
- As CSV:
/api/v1/recent/csv