hrk_nasa_apis 0.1.0-pre.2 hrk_nasa_apis: ^0.1.0-pre.2 copied to clipboard
A library to integrate NASA Open APIs based on dio HTTP client
import 'package:dio/dio.dart';
import 'package:hrk_nasa_apis/hrk_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);
}
}