The Movie Database Support

Hi All,

I feel like I am on another planet. I am doing a codecademy course, and the developers screen shows a version of your API docs that has the base_url prominently displayed in the top left of the screen. This no longer seems to be present. The task I am on is asking me to use the docs to identify the base_url. To help further my education in documentation reading, is there a page I should navigate to to find mention of the base_url as a base_url in isolation with no other requests appended to it?

2 svar (på sida 1 av 1)

Jump to last post

I'm not too experienced myself but I believe base_url is just https://api.themoviedb.org/3

So you'd set it up like

const base_url = "https://api.themoviedb.org/3";

then you can call it instead of retyping the url all the time. you could do

{base_url}/movie/{movie_id} 

instead of

https://api.themoviedb.org/3/movie/{movie_id}

Ah I can see that you do provide an example request after giving me access to the API token. I would welcome a signpost to any other reference to your base URL, as I would still say I am not 100% confident.

Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.

Globala

s fokus på sökrutan
p öppna profilmenyn
esc stäng ett öppet fönster
? öppna tangentbordsgenväg fönstret

På mediasidor

b gå tillbaka (eller till förälder när det är tillämpligt)
e gå till redigerings sidan

På tv-säsongssidor

(höger pil) gå till nästa säsong
(vänster pil) gå till den föregående säsongen

På tv-avsnittssidor

(höger pil) gå till nästa avsnitt
(vänster pil) gå till föregående avsnitt

På alla bildsidor

a öppna lägg till bild fönstret

På alla redigeringssidor

t öppna översättnings väljaren
ctrl+ s skicka förmulär

På diskussionssidor

n skapa ny diskussion
w växla sedd-status
p växla offentligt/privat
c växla stäng/öppna
a öppna aktivitet
r svara på diskussionen
l gå till det senaste svaret
ctrl+ enter skicka ditt meddelande
(höger pil) nästa sida
(vänster pil) föregående sida

Inställningar

Vill du betygsätta denna artikel eller lägga till den i en lista?

Logga in