Skip to main content

AviationWeather.gov API

Project description

awc-client

New data API of AviationWeather.gov. This supercedes the ADDS Data Server and AviationWeather Web Services.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 3.12
  • Package version: 1.0.0
  • Generator version: 7.10.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import awc_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import awc_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import awc_client
from awc_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = awc_client.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with awc_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = awc_client.DataApi(api_client)
    ids = 'KMCI' # str | Station ID(s) (optional)
    bbox = '' # str | Geographic bounding box (lat0, lon0, lat1, lon1) (optional)
    format = 'format_example' # str | Format (optional)

    try:
        # Airport info
        api_instance.data_airport(ids=ids, bbox=bbox, format=format)
    except ApiException as e:
        print("Exception when calling DataApi->data_airport: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DataApi data_airport GET /api/data/airport Airport info
DataApi data_area_fcst GET /api/data/areafcst US Area Forecasts
DataApi data_cwa GET /api/data/cwa CWSU Center Advisories
DataApi data_fcst_disc GET /api/data/fcstdisc US Forecast Discussions
DataApi data_feature GET /api/data/feature Feature info
DataApi data_fix GET /api/data/fix Naviagtional fix info
DataApi data_gairmet GET /api/data/gairmet US Graphical AIRMETs
DataApi data_metars GET /api/data/metar METARs
DataApi data_mis GET /api/data/mis Meteorological Information Statement
DataApi data_navaid GET /api/data/navaid Navigational aid info
DataApi data_obstacle GET /api/data/obstacle Obstacle info
DataApi data_pirepphp GET /api/data/pirep Pilot Reports
DataApi data_sigmet GET /api/data/airsigmet Domestic AIRMETs/SIGMETs
DataApi data_station_info GET /api/data/stationinfo Station info
DataApi data_taf GET /api/data/taf TAFs
DataApi data_wind_temp GET /api/data/windtemp Wind/Temp Point Data
DataApi datai_sigmet GET /api/data/isigmet International SIGMETs
DataserverApi dataserver_airep GET /api/data/dataserver?requestType=retrieve&dataSource=aircraftreports Dataserver for AIREPs and PIREPs
DataserverApi dataserver_gairmet GET /api/data/dataserver?requestType=retrieve&dataSource=gairmets Dataserver for G-AIRMETs
DataserverApi dataserver_metars GET /api/data/dataserver?requestType=retrieve&dataSource=metars Dataserver for METARs
DataserverApi dataserver_sigmet GET /api/data/dataserver?requestType=retrieve&dataSource=airsigmets Dataserver for AIRMETs and SIGMETs
DataserverApi dataserver_tafs GET /api/data/dataserver?requestType=retrieve&dataSource=tafs Dataserver for TAFs

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awc_client-1.0.0.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

awc_client-1.0.0-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file awc_client-1.0.0.tar.gz.

File metadata

  • Download URL: awc_client-1.0.0.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.20 Linux/6.5.0-1025-azure

File hashes

Hashes for awc_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4a0be163cc116e48f09e0acad1ec4bbe0549f90a790f4e7fdaa5b65dcf2510b6
MD5 21748f5ac498f7aa3df9a5447b895644
BLAKE2b-256 0712065835b39051627890725143ff014deb2515e17475278322a98132711171

See more details on using hashes here.

File details

Details for the file awc_client-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: awc_client-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.9.20 Linux/6.5.0-1025-azure

File hashes

Hashes for awc_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3007fee6ecc69e2147befac10ea26eca94de508bbac48d39eddf6847a519d9cd
MD5 814895a3af814a2cef11479efb49997b
BLAKE2b-256 c9d1ef07a615ccf033b55787874cf129f0a020ad85f007afdb13d7984f804ade

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page