NOAA API (V3) Python 3 SDK.
Project description
| |Build Status|
NOAA Python SDK
---------------
SDK for NOAA Weather Service REST API.
| Fully unit tested SDK for NOAA Weather Service REST API.
| https://forecast-v3.weather.gov/documentation
Requirements
------------
- Python 3.4 (tested)
Goal
----
| To provide a generic wrapper for the latest V3 NOAA weather service API.
| Keep on changing this SDK when NOAA updates their API.
| Class can be extended / decorated.
Code sample
-----------
| To get weather observation data from all nearest stations in 11375, US between 2017-12-01 00:00:00 (UTC) to 2017-12-01 05:00:00 (UTC)
.. code:: python
from noaa_sdk import noaa
n = noaa.NOAA()
observations = n.get_observations_by_postalcode_country(
'11375','US','2017-12-01T00:00:00+00:00','2017-12-01T05:00:00+00:00')
for observation in observations:
print(observation)
break
| To get weather forecast for a coordinate in USA
.. code:: python
from noaa_sdk import noaa
n = noaa.NOAA()
n.points_forecast(40.7314, -73.8656, hourly=False)
Contributors
------------
- Paulo Kuong (`@pkuong`_)
.. _@pkuong: https://github.com/paulokuong
.. |Build Status| image:: https://travis-ci.org/paulokuong/knapsack01.svg?branch=master
:target: https://travis-ci.org/paulokuong/knapsack01
NOAA Python SDK
---------------
SDK for NOAA Weather Service REST API.
| Fully unit tested SDK for NOAA Weather Service REST API.
| https://forecast-v3.weather.gov/documentation
Requirements
------------
- Python 3.4 (tested)
Goal
----
| To provide a generic wrapper for the latest V3 NOAA weather service API.
| Keep on changing this SDK when NOAA updates their API.
| Class can be extended / decorated.
Code sample
-----------
| To get weather observation data from all nearest stations in 11375, US between 2017-12-01 00:00:00 (UTC) to 2017-12-01 05:00:00 (UTC)
.. code:: python
from noaa_sdk import noaa
n = noaa.NOAA()
observations = n.get_observations_by_postalcode_country(
'11375','US','2017-12-01T00:00:00+00:00','2017-12-01T05:00:00+00:00')
for observation in observations:
print(observation)
break
| To get weather forecast for a coordinate in USA
.. code:: python
from noaa_sdk import noaa
n = noaa.NOAA()
n.points_forecast(40.7314, -73.8656, hourly=False)
Contributors
------------
- Paulo Kuong (`@pkuong`_)
.. _@pkuong: https://github.com/paulokuong
.. |Build Status| image:: https://travis-ci.org/paulokuong/knapsack01.svg?branch=master
:target: https://travis-ci.org/paulokuong/knapsack01
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
noaa-sdk-0.1.1.tar.gz
(7.6 kB
view hashes)