Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.17 KB

README.rst

File metadata and controls

38 lines (27 loc) · 1.17 KB

AerisWeather API v1 Python SDK

The AerisWeather API Python SDK is the official Python interface to AerisWeather's API (v1). The SDK is focused on simplicity, to help you get started quickly, while remaining flexible enough to tackle an array of use cases.

Getting Started

To make use of the AerisWeather API v1 Python SDK, you'll need:

  • Python 3.6+. Python 2 is not supported.
  • An AerisWeather account. Don't have one? Sign up here!
  • An internet connection while you are making AerisWeather API queries.
  • The aerisweather[api_v1] package from PyPI.

With a little code, you're off to the races!

import os
from aerisweather_api_v1 import aeris_api_client

client_id = os.environ["AERIS_CLIENT_ID"]
client_secret = os.environ["AERIS_CLIENT_SECRET"]

aeris = aeris_api_client(client_id, client_secret)
conditions_ny = aeris.conditions("New York, NY")

Ready for more? Check out the rest of the docs!