This project is a library to use DECEA's API-AISWeb from dart
scripts (no official)
- Aeronautical Charts
- AIP
- Rotaer
- rotaer (aerodromes list)
- rotaer (aerodrome data)
- infotemp
- GEILOC
- NOTAM
- Sunrise and Sunset Table
- Airspace
- Meteorology
- Routes
Get your API ID and API Key with Brazilian Air Force Department of Airspace Control (DECEA)
To use this library in your code:
-
add a dependency in your
pubspec.yaml
:dependencies: aisweb:
-
add import in your
dart
code:import 'package:aisweb/aisweb.dart';
A very simple example:
```dart
import 'package:aisweb/aisweb.dart' show Rotaer, RotaerData;
void main() async {
Rotaer rotaer = Rotaer(apiKey: apiKey, apiPass: apiPass);
RotaerData aiswebResponse = await rotaer.getAerodrome('SNZR');
List<RotaerData> aiswebResponse = await rotaer.getAerodromesList(
city: 'Paracatu', uf: 'MG', type: AerodromesTypes.AD);
print(aiswebResponse.first);
}
```