API for a flat dataset for different interesting Flutter/Dart information.
Repository has been archived.
This is an experimental API, and the endpoints might still change.
We leverage GitHub CDN infrastructure in order to provide the flat data as API endpoints. These endpoints are currently being used on FVM & Flutter Sidekick
- Flutter releases (MacOS, Windows & Linux)
- Flutter Favorites (Official Flutter Favorites)
- Github trending Repositories (daily/weekly/monthly)
- Pub.dev packages
- Most popular
- Most liked
- Recently updated
- Recently created
- Google packages
curl --location --request GET 'http://api.flutter.tools/ENDPOINT_HERE.json'
var request = http.Request('GET', Uri.parse('http://api.flutter.tools/ENDPOINT_HERE.json'));
http.StreamedResponse response = await request.send();
if (response.statusCode == 200) {
print(await response.stream.bytesToString());
}
else {
print(response.reasonPhrase);
}
Currently does a daily snapshot of the Flutter Releases JSON for all platforms.
macos - https://api.flutter.tools/v1/releases/macos.json
windows - https://api.flutter.tools/v1/releases/windows.json
linux - https://api.flutter.tools/v1/releases/linux.json
macos - https://flatgithub.com/leoafarias/flutter.space?filename=releases_macos.json
windows - https://flatgithub.com/leoafarias/flutter.space?filename=releases_windows.json
linux - https://flatgithub.com/leoafarias/flutter.space?filename=releases_linux.json
A json with all Flutter Favorites including package information.
https://api.flutter.tools/v1/pub/flutter-favorites.json
https://flatgithub.com/leoafarias/flutter.space?filename=flutter-favorites.json
A json with a trending Github Repos in Dart in the last month.
today - https://api.flutter.tools/v1/trending/today.json
week - https://api.flutter.tools/v1/trending/week.json
month - https://api.flutter.tools/v1/trending/month.json
today - https://flatgithub.com/leoafarias/flutter.space?filename=trending-repository-today.json
week - https://flatgithub.com/leoafarias/flutter.space?filename=trending-repository-week.json
month - https://flatgithub.com/leoafarias/flutter.space?filename=trending-repository-month.json
Official Google packages on pub.dev
https://api.flutter.tools/v1/pub/google-packages.json
https://flatgithub.com/leoafarias/flutter.space?filename=google-packages.json
Popular: https://api.flutter.tools/v1/pub/most-popular.json
Most liked: https://api.flutter.tools/v1/pub/most-liked.json
Recently created: https://api.flutter.tools/v1/pub/recently-created.json
Recently updated: https://api.flutter.tools/v1/pub/recently-updated.json
Popular: https://flatgithub.com/leoafarias/flutter.space?filename=packages-most-popular.json
Most liked: https://flatgithub.com/leoafarias/flutter.space?filename=packages-most-liked.json
Recently created: https://flatgithub.com/leoafarias/flutter.space?filename=packages-recently-created.json
Recently updated: https://flatgithub.com/leoafarias/flutter.space?filename=packages-recently-updated.json