Skip to content

Commit

Permalink
Update baseurl (#34)
Browse files Browse the repository at this point in the history
Updates trakt baseurl because old one is deprecated.

According to [Trakt
API](https://twitter.com/traktapi/status/1742976564567106019) :

> The API host name
[http://api-v2launch.trakt.tv](https://t.co/9TYHCeYzjb) will be removed
on February 1.
>
>This has been deprecated since 2017. This will only affect very old
apps and they need to use [http://api.trakt.tv](https://t.co/0mENbHo7Uq)
to continue working beyond February 1.
  • Loading branch information
glensc committed Jan 5, 2024
2 parents 66a9920 + b6bd5b5 commit 8ba2819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trakt/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#: The base url for the Trakt API. Can be modified to run against different
#: Trakt.tv environments
BASE_URL = 'https://api-v2launch.trakt.tv/'
BASE_URL = 'https://api.trakt.tv/'

#: The Trakt.tv OAuth Client ID for your OAuth Application
CLIENT_ID = None
Expand Down

0 comments on commit 8ba2819

Please sign in to comment.