Hello,
I looking for a way to improve my website response time and was wondering if you have a list of keywords and ID API call that I can use to populate my database.
I have checked the doc's and can only see keywords for a given movie id.
I think this might be a good and easy API add-on if it could be done. As you have already done it with the genres, I am only guess there are many more keywords then there are genres.
Thanks,
Dale.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on February 28, 2014 at 10:15 AM
Hi Dale,
There is this call. Is that what you were looking for?
Reply by Dale
on February 28, 2014 at 10:21 AM
Sorry correction I had a typo in my last message.
That is for one keyword. I am looking for one like this one below:
http://api.themoviedb.org/3/genre/list?api_key=*
This return all the genres.
Regards,
Dale.
Reply by Travis Bell
on February 28, 2014 at 10:26 AM
Oh, I see. Gotcha.
I've created a new ticket for this here.
Reply by Dale
on February 28, 2014 at 10:37 AM
Thanks for that.
Out of interest how many do you have in the database. I could just make a bad for loop for all ids to get them. I would find it much easier for it all to be in one very large api call.
Dale.
Reply by Travis Bell
on February 28, 2014 at 10:52 AM
There's around 26,000.
It won't be a single page with all 26,000 but probably something like 250 per page. Keywords return a very small amount of data so returning more is ok.
Reply by Dale
on February 28, 2014 at 11:11 AM
Ok maybe I wont do a for loop as this would take a long time. Would it be possible to get the list of keywords and ID some how?
In a CSV or text file to enable me to create a database table with it all in.
Thanks,
Dale.
Reply by sitejax
on April 26, 2017 at 6:51 AM
This chat is 3 years old. What was the end result? I would like a list of keywords and Ids as well.
Reply by Travis Bell
on April 26, 2017 at 9:44 AM
Heh, it's odd that you bring this up because I have some daily export files being prepped and will be publishing soon. One of those is the list of keywords. I'll update you when it's ready to download.
Reply by Travis Bell
on July 16, 2018 at 5:52 PM
Just thought I'd mention that the exports went live last year and you can get all of the keywords from the keyword export.
Cheers.