Skip to content

cupakob/covid19trends-rest-api

Repository files navigation

covid19trends-rest-api

Security Rating Maintainability Rating Code Smells Coverage Technical Debt Reliability Rating Duplicated Lines (%) Vulnerabilities Bugs

REST API for covid19-trends.de

Endpoints

There is only one endpoint currently

/fetch/{countrycode}

Validation

The country code must be 2 chars long and uppercase, e.g.

  • valid: 'US'
  • invalid: 'us'

Response

  • If you give a country code, which can't be matched to a country, the response status is 404.
  • If the data can't be fetched from the remote source, the status is 500
  • If the country code is invalid, the response status is 400
  • If okay - 200 :)

About

REST API for covid19trends.de

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published