rki_corona_api 2.0.0 copy "rki_corona_api: ^2.0.0" to clipboard
rki_corona_api: ^2.0.0 copied to clipboard

Unoffical Api for the RKI. Uses the rki-covid-api from marlon 360 to get information.

RKI Corona API #

API to access the Corona information from the Robert-Koch Institut. This project uses the rki-covid-api from marlon 360.

Usage #

After installing import the file in your project.

import 'package:rki_corona_api/rki_corona_api.dart';

Now you can use it:

main() async {
  var statsGermany = await RKICovidAPI.getCases();
  print('stats: ${statsGermany.deaths}');
}

To get details for every state use

await RKICovidAPI.getStates();

And To get details for every district use

await RKICovidAPI.getDisctricts();

Features and bugs 🐞 #

Please file feature requests and bugs at the issue tracker.

2
likes
120
pub points
0%
popularity

Publisher

unverified uploader

Unoffical Api for the RKI. Uses the rki-covid-api from marlon 360 to get information.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http

More

Packages that depend on rki_corona_api