Skip to content

Commit c4a096a

Browse files
committed
v0.10 -> v0.11
1 parent 3427f9f commit c4a096a

2 files changed

Lines changed: 2 additions & 45 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="UnOffical_TAGO_API",
5-
version="0.10",
5+
version="0.11",
66
description="Unofficial Python wrapper for TAGO Bus API",
77
url="https://github.com/hyuntroll/TAGOBus-API",
88
long_description=open('README.md', 'r', encoding='utf-8').read(),

tests/test_station.py

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,4 @@
1-
2-
import sys
3-
import os
4-
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
5-
61
from tagoapi import *
7-
from tagoapi.utils.cache import Cache
8-
import pprint
9-
10-
11-
12-
# def test_cache():
13-
# cache = Cache("caches/station.pkl")
14-
# station_list = cache.get("stations_2025_06_15.csv")
15-
# assert isinstance(station_list, list)
16-
17-
client = TAGOClient(TAGOAuth("xn4RVIhnt5Q5/+c7Z6EUFEMvixw/jR8fTaO9+rA+YqLawwW6Sv9e33bJhFDQWqjN+qo+Wxi6H6Qmzs8IAZdrBw=="))
18-
19-
# pprint.pprint(client.get_station(
20-
# 25, nodeNo=44810, nodeNm="전통시장"
21-
# ))
22-
23-
# pprint.pprint(client.get_station_by_gps(
24-
# gpsLati=36.3, gpsLong=127.3
25-
# ))
26-
27-
pprint.pprint(client.get_route_by_station(
28-
22, "DGB7021050800"
29-
))
30-
31-
##
32-
33-
# pprint.pprint(client.get_route_by_no(
34-
# 25, routeNo=5
35-
# ))
36-
37-
# pprint.pprint(client.get_station_by_route(
38-
# 25, routeId="DJB30300004"
39-
# ))
40-
41-
# pprint.pprint(client.get_route_by_id(
42-
# 25, routeId="DJB30300004"
43-
# ))
442

45-
def test_statin():
46-
assert isinstance(get_station("민들"), list)
473

4+
client = TAGOClient(auth=TAGOAuth("tlqkf"))

0 commit comments

Comments
 (0)