Поддержка The Movie Database

Hi there, I was wondering how can I structure the URI for my favourite movies list with movies details? My favourites list is set to be public. How to get the ID for that list?

I read the instructions and for the Lists, and it should look something like this:

https://www.themoviedb.org/list/47313?api_key=###&language=en-US

but I am little confused for the favourites list.

Programming beginner here, sorry for bothering :)

9 ответов (на странице 1 из 1)

Jump to last post

I think Favorite List does not have an ID.
The address of your favorites list is:
https://www.themoviedb.org/u/esoterix202/favorites

Ok, but when I make a call with

https://www.themoviedb.org/u/esoterix202/favorites?api_key=9###&language=en-US

I get a response "HTTP 0 Error" Do you have any idea why would that happen?

I do no.
Only Travis Bell help you.

I kindly hope that I will get an explanation from Travis, then... Thank you.

Hi @esoterix202,

It sounds like you're wanting to use the API, is that right? If so, you're mixing up the website and the API. If you're wanting to get some of your account lists via the API, you need to look at the account list options:

You can see a walk through about the authentication here:

You will need to create an authentication token for the API, in order to get a hold of your account id.

I actually have a v4 auth script you can quickly use to get the account id if you want. Enter your read token (from your API settings), click "get request token" then "approve" and once it's approved, "get access token". That will print the account id for you. Then, you can head over to another test page I have for account lists. This one lets you make requests to your account lists.

WOW! How professional and beginner-friendly is this?! Great job, @travisbell ! clap clap clap You've made one mobile dev noob very happy grinning

One more question @travisbell . How can I extract additional details for EACH film on my list? Maybe somehow with append_to_response method? Or that is something I can do only with separate movie API call but no with favourite movies list API call? Thanks in advance for the explanation.

@travisbell

How can I extract additional details for EACH film on my list?

You would have to iterate over each ID and make a call to the get details method. From there you can use append_to_response but there is no way to expand the data on the account lists themselves.

Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.

Глобальные

s фокусироваться на панели поиска
p открыть меню профиля
esc закрыть открытое окно
? открыть окно сочетаний клавиш

На страницах медиа

b назад (или выше, если применимо)
e перейти на страницу правки

На страницах сезонов

(стрелка вправо) перейти к следующему сезону
(стрелка влево) перейти к предыдущему сезону

На страницах эпизодов

(стрелка вправо) перейти к следующему эпизоду
(стрелка влево) перейти к предыдущему эпизоду

На всех страницах изображений

a открыть окно добавления изображения

На всех страницах правки

t открыть переключатель переводов
ctrl+ s отправить форму

На страницах обсуждения

n создать новое обсуждение
w сменить статус отслеживания
p публичное/приватное
c закрыть/открыть
a открыть страницу действий
r ответить в обсуждении
l перейти к последнему ответу
ctrl+ enter отправить своё сообщение
(стрелка вправо) следующая страница
(стрелка влево) предыдущая страница

Параметры

Хотите поставить оценку или добавить в список?

Войти