python-aisweb

API Wrapper for brazilian AIS services.


Keywords
dev, api, aisweb, aeronautics
License
MIT
Install
pip install python-aisweb==1.0.0

Documentation

Python AISWEB

This is an API Wrapper for the Brazilian Aeronautical Information Service from DECEA's AISWEB system. If you're a developer who wants to use this API and want to check the docs for usage, please contact DECEA (Departamento de Controle do Espaço Aéreo) to get your API Key in https://aisweb.decea.gov.br/.

Installation

With pip installed, just install the package with it. Simple as that:

pip install python-aisweb

Usage

from python_aisweb import AISWEB

a = AISWEB('<API_KEY>', '<API_PASS>')

# Response comes in XML by default. If you want JSON responses, do as below:
response = a.<area_code>({'arg_key': 'arg_value'}, method='GET', response_type="JSON")

# The response, when JSON specified, is indented by 4.
print(response)