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.
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 28 février 2014 à 10h15
Hi Dale,
There is this call. Is that what you were looking for?
Réponse de Dale
le 28 février 2014 à 10h21
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.
Réponse de Travis Bell
le 28 février 2014 à 10h26
Oh, I see. Gotcha.
I've created a new ticket for this here.
Réponse de Dale
le 28 février 2014 à 10h37
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.
Réponse de Travis Bell
le 28 février 2014 à 10h52
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.
Réponse de Dale
le 28 février 2014 à 11h11
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.
Réponse de sitejax
le 26 avril 2017 à 06h51
This chat is 3 years old. What was the end result? I would like a list of keywords and Ids as well.
Réponse de Travis Bell
le 26 avril 2017 à 09h44
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.
Réponse de Travis Bell
le 16 juillet 2018 à 17h52
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.