We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c173e75 commit 38687b9Copy full SHA for 38687b9
1 file changed
src/onebusaway/resources/trip_details.py
@@ -77,7 +77,7 @@ def retrieve(
77
if not trip_id:
78
raise ValueError(f"Expected a non-empty value for `trip_id` but received {trip_id!r}")
79
return self._get(
80
- f"/api/where/trip-details/tripID.json",
+ f"/api/where/trip-details/{trip_id}.json",
81
options=make_request_options(
82
extra_headers=extra_headers,
83
extra_query=extra_query,
@@ -151,7 +151,7 @@ async def retrieve(
151
152
153
return await self._get(
154
155
156
157
0 commit comments