Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/k11q/opendosm_api
A simple web server serving API for opendosm public dataset in JSON.
https://github.com/k11q/opendosm_api
Last synced: 19 days ago
JSON representation
A simple web server serving API for opendosm public dataset in JSON.
- Host: GitHub
- URL: https://github.com/k11q/opendosm_api
- Owner: k11q
- Created: 2023-03-18T13:33:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-03-19T04:27:33.000Z (over 1 year ago)
- Last Synced: 2024-08-02T23:24:46.724Z (3 months ago)
- Language: JavaScript
- Size: 30.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenDOSM Unofficial Public API
This is a public API of openDOSM datasets:
Base url:
```
https://opendosmapi-production.up.railway.app/api/
```There is ``bucket`` and ``file_name``
The api works this way:
```
https://opendosmapi-production.up.railway.app/api/${bucket}/${file_name}
```## Example
Say the data you want is located in this csv:
```
https://storage.googleapis.com/dosm-public-economy/fuelprice.csv
```The link would be:
```
https://opendosmapi-production.up.railway.app/api/dosm-public-economy/fuelprice
```Columns filtering are supported.
E.g:
```
https://opendosmapi-production.up.railway.app/api/dosm-public-economy/fuelprice?columns=series_type,date,ron97
```returns the columns for only
- series_type
- date
- ron97## Data From Aksara Data
Datasets from Aksara Data repo are also available(which includes metadata, variables, etc...)
The API behaves like the repo data structure, where theres ``catalog`` and ``data``.
This is how they are structured:
catalog (basename)
| data1.json (file_name)
| data2.json (file_name)data (basename)
| data1.json (file_name)
| data2.json (file_name)The API works this way:
```
https://opendosmapi-production.up.railway.app/api/${basename}/${file_name}
```Example:
for getting the ``/catalog/data1.json`` json:
```
https://opendosmapi-production.up.railway.app/api/catalog/data1
```