-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync with Trakt #16
Comments
I started working on it.🖐️ |
I implemented login with trakt but I faced some issues. what is your suggestion? @moallemi |
We could consider switching to the Trakt API for all details and lists. I remember using TraktAPI in another project, but I can't recall why I eventually chose TMDB for default. So I recommend using Trakt ID lookup API to get IDs and fill our data: |
I have just confused a little bit. |
not related to issue , should i have to get new api key from the website because the api key is null in buildconfig class? and when i run the project the mainactivity shows blank screen |
@hadi-norouzi In order to optimize our API calls and ensure efficient performance, I recommend fetching the traktId specifically on the movie/show details screen. This approach ensures that we only retrieve the traktId when it's essential, which is in the detailed screens where we display the watched/unwatched status. By doing so, we can minimize the number of unnecessary API calls to Trakt. So, when we load movie details from TMDB, we can initiate an asynchronous call to Trakt to obtain the traktId. Once we have that, we can seamlessly fetch the watch/unwatched status and continue with the rest of the required implementation. |
As a movie and TV show enthusiast,
I want to sync my viewing activity with Trakt
so that I can keep track of movies and episodes I've watched and manage my viewing history seamlessly.
Acceptance Criteria:
Feel free to create separate PRs for this user story
The text was updated successfully, but these errors were encountered: