The Movie Database-ondersteuning

Hi Travis,

developing a small windows store app for my kids at home, in an attempt to reclaim the television.

Im trying to make a simple call with only the movie name

heres the url: http://api.themoviedb.org/3/search/Tron?api_key=638a9eb1f9682879f7234313fdfcsdfa6776

I changed the key for the post

Can you tell me whats missing ? I couldn't see any url examples in the api documentation

Thanks

3 antwoorden (op pagina 1 van 1)

Jump to last post

Try this

static async Task RunAsync()

{
    var baseAddress = new Uri("http://api.themoviedb.org/3/");

    using (var httpClient = new HttpClient { BaseAddress = baseAddress })
    {

        //http://api.themoviedb.org/3/search/movie?api_key=APIKEY&query=MOVIENAME -- format for the query

        using (var response = await httpClient.GetAsync("search/movie?api_key=API_KEY&query=Banshee"))
        {

            string responseData = await response.Content.ReadAsStringAsync();
        }
    }
}

Hi Kevin,

If you look at javaman63's URL, the proper syntax to do a search is:

https://api.themoviedb.org/3/search/movie?api_key=###&query=tron

Cheers.

Thanks guys,

I got there in the end, appreciate the help with this one :)

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op tv-seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met tv-series

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c schakelen sluiten/openen
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen