Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pedelriomarron/spanish-api-covid19

Data from Spain of COVID-19 (by Datadista) as a service
https://github.com/pedelriomarron/spanish-api-covid19

api covid-19 covid-19-spain data now spain zeit

Last synced: 17 days ago
JSON representation

Data from Spain of COVID-19 (by Datadista) as a service

Awesome Lists containing this project

README

        



# spanish-api-covid19

> Serving data from Datadista as a [JSON API](https://spanish-api-covid19.pedelriomarron.now.sh/)

## Routes

- /api: global summary

- /api/confirmed: global cases per region sorted by confirmed cases

- /api/recovered: global cases per region sorted by recovered cases

- /api/deaths: global cases per region sorted by death toll

- /api/hospitalized: global cases per region sorted by hospitalizations

- /api/uci: global cases per region sorted by UCI patients

- /api/regions: all regions with their INE code

- /api/regions/[region]: a [region] summary (e.g. /api/regions/01 or /api/regions/12)

- /api/regions/[region]/confirmed: a [region] cases per region sorted by confirmed cases

- /api/region/[region]/recovered: a [region] cases per region sorted by recovered cases

- /api/regions/[region]/deaths: a [region] cases per region sorted by death toll

- /api/regions/[region]/hospitalized: a [region] cases per region sorted by hospitalizations

- /api/regions/[region]/uci: a [region] cases per region sorted by UCI patients

## Showcase

- [Representación de los efectos del COVID-19 en España](https://github.com/alvcuevas/covid19), (Web) by [alvcuevas](https://covid19-three.now.sh/)

## License

MIT License 2020, Pedro Manuel del Río Marrón.

Data updated in real time thanks to the Datadista repository, the data cannot be used for commercial purposes.