Skip to content
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

Trakt v2 support #10

Closed
razzeee opened this issue Feb 28, 2015 · 6 comments
Closed

Trakt v2 support #10

razzeee opened this issue Feb 28, 2015 · 6 comments

Comments

@razzeee
Copy link
Contributor

razzeee commented Feb 28, 2015

Hey there,

any plans on moving the trakt part of the script to v2? As v1 is much slower and will likely die in the next months?
If you need any help just let me know.

Cheers

@phil65
Copy link
Owner

phil65 commented Feb 28, 2015

As said in forums, I´m not sure if it´s worth it since the calls for movie lists (trending for example) seem to not return the thumb images anymore. I would have to request for every single movie.

@razzeee
Copy link
Contributor Author

razzeee commented Feb 28, 2015

Are you sure? Have you tested it with the extended info parameter?

@phil65
Copy link
Owner

phil65 commented Feb 28, 2015

@razzeee
Copy link
Contributor Author

razzeee commented Feb 28, 2015

I just tried it, this is the first result of trending

 {
        "watchers": 102,
        "movie": {
            "title": "The Hunger Games: Mockingjay - Part 1",
            "year": 2014,
            "ids": {
                "trakt": 89542,
                "slug": "the-hunger-games-mockingjay-part-1-2014",
                "imdb": "tt1951265",
                "tmdb": 131631
            },
            "images": {
                "fanart": {
                    "full": "https://walter.trakt.us/images/movies/000/089/542/fanarts/original/28fc0e449b.jpg",
                    "medium": "https://walter.trakt.us/images/movies/000/089/542/fanarts/medium/28fc0e449b.jpg",
                    "thumb": "https://walter.trakt.us/images/movies/000/089/542/fanarts/thumb/28fc0e449b.jpg"
                },
                "poster": {
                    "full": "https://walter.trakt.us/images/movies/000/089/542/posters/original/57096c3b19.jpg",
                    "medium": "https://walter.trakt.us/images/movies/000/089/542/posters/medium/57096c3b19.jpg",
                    "thumb": "https://walter.trakt.us/images/movies/000/089/542/posters/thumb/57096c3b19.jpg"
                },
                "logo": {
                    "full": "https://walter.trakt.us/images/movies/000/089/542/logos/original/e00ead8fcd.png"
                },
                "clearart": {
                    "full": "https://walter.trakt.us/images/movies/000/089/542/cleararts/original/0ba6d9b774.png"
                },
                "banner": {
                    "full": "https://walter.trakt.us/images/movies/000/089/542/banners/original/96ba63255a.jpg"
                },
                "thumb": {
                    "full": "https://walter.trakt.us/images/movies/000/089/542/thumbs/original/66f9b2bb71.jpg"
                }
            }
        }
    },

https://api-v2launch.trakt.tv/movies/trending?extended=images
http://docs.trakt.apiary.io/#introduction/extended-info

@phil65
Copy link
Owner

phil65 commented Feb 28, 2015

ah ok, I misunderstood.
I didnt see that parameter. will update it then. thx for the heads-up. :)

@razzeee
Copy link
Contributor Author

razzeee commented Feb 28, 2015

Your welcome, if you need anything just, let me know
Also you might consider joining this group if you've not done it already https://plus.google.com/u/0/communities/103111515647012208243

@phil65 phil65 closed this as completed Apr 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants