hrk_nasa_apis 0.2.0 hrk_nasa_apis: ^0.2.0 copied to clipboard
A library to integrate NASA Open APIs based on dio HTTP client
A library to integrate NASA Open APIs based on dio
HTTP client.
Features #
- Based on
dio
HTTP client - NASA Open APIs implemented
Getting started #
dart pub add hrk_nasa_apis
Usage #
import 'package:hrk_nasa_apis/nasa_apis.dart';
void main() async {
final sbdbCadApi = SbdbCadApi();
try {
Response<SbdbCadBody> response = await sbdbCadApi.get();
final sbdbCadBody = response.data!;
print('count = ${sbdbCadBody.count}');
} on Exception catch (e) {
print(e);
}
}