Skip to content

Falamarcao/aisweb-dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dart AISWeb

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

Usage

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';

Example

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);
}
```

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages