Last updated:
0 purchases
rki corona api
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';
copied to clipboard
Now you can use it:
main() async {
var statsGermany = await RKICovidAPI.getCases();
print('stats: ${statsGermany.deaths}');
}
copied to clipboard
To get details for every state use
await RKICovidAPI.getStates();
copied to clipboard
And To get details for every district use
await RKICovidAPI.getDisctricts();
copied to clipboard
Features and bugs 🐞 #
Please file feature requests and bugs at the issue tracker.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.