Skip to content

Commit ddf2414

Browse files
committed
Do not fetch key on init
1 parent a2d7f51 commit ddf2414

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

py_nextbus/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __init__(
5858
agency_id: str | None = None,
5959
) -> None:
6060
self.agency_id = agency_id
61-
self.api_key: str | None = self._fetch_api_key()
61+
self.api_key: str | None = None
6262
self.headers = {
6363
"Accept": "application/json, text/javascript, */*; q=0.01",
6464
"Referer": self.referer,

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="py_nextbusnext",
9-
version="2.0.0",
9+
version="2.0.1",
1010
author="ViViDboarder",
1111
description="Minimalistic Python client for the NextBus public API for real-time transit "
1212
"arrival data",
@@ -20,15 +20,15 @@
2020
"tests",
2121
]
2222
),
23-
python_requires=">=3.8",
23+
python_requires=">=3.9",
2424
install_requires=[
2525
"requests",
2626
],
2727
classifiers=[
28-
"Programming Language :: Python :: 3.8 ",
2928
"Programming Language :: Python :: 3.9 ",
3029
"Programming Language :: Python :: 3.10 ",
3130
"Programming Language :: Python :: 3.11 ",
31+
"Programming Language :: Python :: 3.12 ",
3232
"License :: OSI Approved :: MIT License",
3333
"Operating System :: OS Independent",
3434
],

0 commit comments

Comments
 (0)