lymanepp / pytomorrowio

Async Python client for Tomorrow.io API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Tomorrow.io API

Documentation Status

Python3.9+ package to access the Tomorrow.io Weather API

Both an async module (TomorrowioV4) and a synchronous module (TomorrowioV4Sync) are provided.

Example Code

from datetime import timedelta
from pytomorrowio import TomorrowioV4Sync

gps_coord = (28.4195, -81.5812)
api = TomorrowioV4Sync("MY_API_KEY", *gps_coord)
print(api.realtime(api.available_fields(timedelta(0))))
print(api.forecast_nowcast(api.available_fields(timedelta(minutes=5))))

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Async Python client for Tomorrow.io API

License:MIT License


Languages

Language:Python 95.9%Language:Makefile 4.1%