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.
Não consegue encontrar um certo Filme ou Série? Inicie Sessão e adicione-o.
Deseja classificar ou adicionar este item a uma lista?
Ainda não é um membro?
Resposta de Travis Bell
em 28 fevereiro 2014 às 10:15 AM
Hi Dale,
There is this call. Is that what you were looking for?
Resposta de Dale
em 28 fevereiro 2014 às 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.
Resposta de Travis Bell
em 28 fevereiro 2014 às 10:26 AM
Oh, I see. Gotcha.
I've created a new ticket for this here.
Resposta de Dale
em 28 fevereiro 2014 às 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.
Resposta de Travis Bell
em 28 fevereiro 2014 às 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.
Resposta de Dale
em 28 fevereiro 2014 às 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.
Resposta de sitejax
em 26 abril 2017 às 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.
Resposta de Travis Bell
em 26 abril 2017 às 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.
Resposta de Travis Bell
em 16 julho 2018 às 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.