Suporte do The Movie Database

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 respostas (na página 1 de 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 :)

Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.

Geral

s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

Em páginas de Média

b go back (or to parent when applicable)
e ir para a página de edição

Em páginas de temporadas de séries

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

Em Páginas de Episódios de Séries

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

Em Todas as Páginas de Imagens

a abrir janela para adicionar imagem

Em Todas as Páginas de Edição

t open translation selector
ctrl+ s submit form

Em Páginas de Discussão

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior

Definições

Deseja classificar ou adicionar este item a uma lista?

Iniciar Sessão

Ainda não é um membro?

Crie uma Conta e Adere a Comunidade