jkoelndorfer / python-aerisweather-api-v1

SDK for the AerisWeather API, version 1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

SDK for the AerisWeather API, version 1

License:MIT License


Languages

Language:Python 100.0%