Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raman325/pytomorrowio
Async Python client for Tomorrow.io API
https://github.com/raman325/pytomorrowio
Last synced: 3 days ago
JSON representation
Async Python client for Tomorrow.io API
- Host: GitHub
- URL: https://github.com/raman325/pytomorrowio
- Owner: raman325
- License: mit
- Created: 2021-08-10T05:33:28.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-06-10T08:12:51.000Z (5 months ago)
- Last Synced: 2024-09-17T03:06:51.489Z (about 2 months ago)
- Language: Python
- Size: 136 KB
- Stars: 2
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
======================
Python Tomorrow.io API
======================.. image:: https://img.shields.io/pypi/v/pytomorrowio.svg
:target: https://pypi.python.org/pypi/pytomorrowio.. image:: https://img.shields.io/travis/raman325/pytomorrowio.svg
:target: https://travis-ci.com/raman325/pytomorrowio.. image:: https://readthedocs.org/projects/pytomorrowio/badge/?version=latest
:target: https://pytomorrowio.readthedocs.io/en/latest/?badge=latest
:alt: Documentation StatusPython3.9+ package to access the `Tomorrow.io Weather API `_
Both an async module (``TomorrowioV4``) and a synchronous module
(``TomorrowioV4Sync``) are provided.Example Code
-------------
.. code-block:: pythonfrom datetime import timedelta
from pytomorrowio import TomorrowioV4Syncgps_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.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage