Skip to main content

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))
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kma-0.2.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

kma-0.2.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file kma-0.2.0.tar.gz.

File metadata

  • Download URL: kma-0.2.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kma-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4dd92fb3cc235dff7ceebc1095ce9331751fe001a93f6c50008e378d457bf467
MD5 10526212572b982d3974a125eeaa59b4
BLAKE2b-256 48911cca75acf949a52f87e548e56e866917ee65f220200117eea0ae59032993

See more details on using hashes here.

File details

Details for the file kma-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kma-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f2ec7a4e9f11b00307c30942805a4b6073844dd4c9090b57a5cb310167df8e4
MD5 65a4c63ea8827cd7f8d9545fb3329587
BLAKE2b-256 5e74356a0ae211723c039f37ac118dd525f974538284a1af0965ae7729078b47

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page