Skip to main content

Seoul public data API client library.

Project description

Python API client library for Seoul Open Data Plaza (서울 열린데이터 광장).

Example

>>> from seoul import Client
>>> seoul = Client()
>>> trains = seoul.get_subway_realtime_position('6호선')
>>> for train in trains:
...     print(f"{train.subway_name} {train.number}번 열차 @ {train.station_name}")
...
6호선 6265 열차 @ 화랑대(서울여대입구)
6호선 6271 열차 @ 이태원
6호선 6277 열차 @ 불광

Supported APIs

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

seoul-0.1.0.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

seoul-0.1.0-py3-none-any.whl (9.9 kB view hashes)

Uploaded Python 3

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