Skip to content

Commit

Permalink
update for v2 info traffic api
Browse files Browse the repository at this point in the history
  • Loading branch information
drosoCode committed Mar 22, 2024
1 parent 0b1c044 commit a25f93e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idfm_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ async def get_line_reports(
"""
ret = []
data = await self.__navitia_request(
f"https://prim.iledefrance-mobilites.fr/marketplace/navitia/line_reports/coverage/fr-idf/lines%2Fline%3AIDFM%3A{line_id}/line_reports"
f"https://prim.iledefrance-mobilites.fr/marketplace/v2/navitia/lines%2Fline%3AIDFM%3A{line_id}/line_reports"
)
if data:
for i in data["disruptions"]:
Expand Down

0 comments on commit a25f93e

Please sign in to comment.