Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raman325/pyclimacell
Async Python client for ClimaCell API
https://github.com/raman325/pyclimacell
Last synced: 3 days ago
JSON representation
Async Python client for ClimaCell API
- Host: GitHub
- URL: https://github.com/raman325/pyclimacell
- Owner: raman325
- License: mit
- Created: 2020-06-04T20:55:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T21:25:32.000Z (about 1 year ago)
- Last Synced: 2024-03-15T01:03:44.678Z (8 months ago)
- Language: Python
- Size: 81.1 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
====================
Python ClimaCell API
====================.. image:: https://img.shields.io/pypi/v/pyclimacell.svg
:target: https://pypi.python.org/pypi/pyclimacell.. image:: https://img.shields.io/travis/raman325/pyclimacell.svg
:target: https://travis-ci.com/raman325/pyclimacell.. image:: https://readthedocs.org/projects/pyclimacell/badge/?version=latest
:target: https://pyclimacell.readthedocs.io/en/latest/?badge=latest
:alt: Documentation StatusPython3.7+ package to access the `ClimaCell Weather API `_
Both an async module (``ClimaCellV4`` and ``ClimaCellV3``) and a synchronous module
(``ClimaCellV3Sync`` and ``ClimaCellV4Sync``) are provided.Example Code
-------------
.. code-block:: pythonfrom pyclimacell import ClimaCellV4Sync
api = ClimaCellSync("MY_API_KEY", latitude, longitude)
print(api.realtime(api.available_fields(timedelta(0))))
print(api.forecast_nowcast(api.available_fields(timedelta(minutes=5))), start_time, timedelta_duration, timestep))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