Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesztman authored Dec 16, 2022
1 parent 0556b8f commit 080c2eb
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,21 @@
[![PyPI version](https://badge.fury.io/py/smhi-weather.svg)](https://badge.fury.io/py/smhi-weather)
[![Testing](https://github.com/Wesztman/smhi-weather/actions/workflows/testing.yml/badge.svg)](https://github.com/Wesztman/smhi-weather/actions/workflows/testing.yml)

Provides some friendly functions to fetch data from SMHI:s open data api.
Provides friendly functions to fetch data from SMHI:s open data api.

The source off all data provided is [SMHI](http://opendata.smhi.se/apidocs/metfcst/index.html),
use in accordance with SMHI:s guidelines and API policy.

Install with

`pip install smhi-weather`

Import and use as

```
from smhi_weather import SmhiWeather
forecast = SmhiWeather(59.334591, 18.063240).get_forecast()
```

For now a single function exists which return a full forecast according to SMHI:s docs on [Get Point Forecast](http://opendata.smhi.se/apidocs/metfcst/get-forecast.html).

0 comments on commit 080c2eb

Please sign in to comment.