Hi, i am working on an iPad app based on this great database and i am using lists for "now on cinema" and "top 10 cinema". for example her is the list for the movies that are "now" playing in german cinemas. http://www.themoviedb.org/list/52fa99b79251411d1b1c4977
i am using this list in my app. so it is necessary that the list id is always the same.
the list ist created via a script, so i do a lookup on google to fetch the movie titles and than the script searches themoviedb (Title and Year).
at the moment the script works like this.
so i think it would be great to have a function "clear list" and add multiple items.
best regards Alex
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 24 février 2014 à 11h21
Hi Alex,
I've created a new ticket for this here. I'll consider it in the future. Thanks.
Réponse de digitaldesaster
le 25 février 2014 à 15h29
thanks Travis. regards Alex
Réponse de Travis Bell
le 24 mars 2014 à 16h51
Hey Alex,
I just pushed this method live, you can see the method documented here: http://docs.themoviedb.apiary.io/#post-%2F3%2Flist%2F%7Bid%7D%2Fclear
Cheers.
Réponse de digitaldesaster
le 30 mars 2014 à 06h28
Hey Travis, thanks, just did a short test and it did not work, i have to take a deeper look if it is my code...
thanks Alex
Réponse de digitaldesaster
le 1 mai 2014 à 15h58
did another test and i can't get this to work
https://api.themoviedb.org/3/list/my_list_id/clear?api_key=my_api_key&session_id=my_session_id
header {'Content-Type': 'application/json', 'Accept': 'application/json'}
data {"confirm": "true"}
i get a bad request
best regards Alex
Réponse de Travis Bell
le 2 mai 2014 à 09h08
Hi Alex,
I'm guessing you're seeing status code 29 (a 400 response).
confirm=true
should be a HTTP param, not a POST body.Cheers.
Réponse de digitaldesaster
le 2 mai 2014 à 16h53
Thanks Travis, it works like a charme ;-)