Current weather and forecast information library for kma.go.kr
Project description
# KMA
Korea weather information library for kma.go.kr under python3
### Dependencies
This library uses below libraries. Please refer requirements.txt for the details.
1. urllib3
2. certifi
3. pytz
### How to use this library
#### 1. Request to issue a service key
Please visit below url.
You should understand Korean language, I think.
https://www.data.go.kr/dataset/15000099/openapi.do
#### 2. Install
```python
pip install kma
```
#### 3. Sample code
```python
from kma import Weather
w = Weather('YOUR_SERVICE_KEY')
curr = w.get_current()
forecast = w.get_forecast()
print('Current temperature: {}'.format(curr.temperature))
```
#### Deprecated features
##### 1. Sky status
No longer supported by Korea Meteorological Administration.
Korea weather information library for kma.go.kr under python3
### Dependencies
This library uses below libraries. Please refer requirements.txt for the details.
1. urllib3
2. certifi
3. pytz
### How to use this library
#### 1. Request to issue a service key
Please visit below url.
You should understand Korean language, I think.
https://www.data.go.kr/dataset/15000099/openapi.do
#### 2. Install
```python
pip install kma
```
#### 3. Sample code
```python
from kma import Weather
w = Weather('YOUR_SERVICE_KEY')
curr = w.get_current()
forecast = w.get_forecast()
print('Current temperature: {}'.format(curr.temperature))
```
#### Deprecated features
##### 1. Sky status
No longer supported by Korea Meteorological Administration.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
kma-0.3.0-py3-none-any.whl
(7.6 kB
view details)
File details
Details for the file kma-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: kma-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/38.4.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2b7fa0811e78550f4cc8ee271956e360a9093643c456e3c6acc8d3b8d69310d |
|
MD5 | a0d79511703ce54c741bdfeee82216eb |
|
BLAKE2b-256 | cce0102d93bab80a6ab2175a806f05c0ee7abf5e33d5aea74bed057467bbc7a2 |