Axuda de 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áxina 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 :)

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión