Axuda de The Movie Database

Hey Guys, i checked almost all the api's, is there a way to get the directors of movies. it will be a great help if anyone can suggest me

3 respostas (na páxina 1 de 1)

Jump to last post

Hi @KushTehlan, you can call the /credits method to get a list of the movie crew. You can of course use this with append_to_response as well.

Hi Travis.. thanks. one more query. I am using "movie" details api to get imdb_id. I am using scala and i am making my requests like this:

"val TmdbRequest: HttpResponse[String] = Http("https://api.themoviedb.org/3/movie/")
      .param("movie_id", "550" + "?")
      // .param("?","?")
      .param("api_key", "######")
      .param("language", "en-US")
      .param("append_to_response", "reviews")
      .asString"

Now the problem is of charachter "?" . i want to collect for several movie id . My problem is how do i parse "?" in query. If i do manually for every movie it works fine. i want a way so that i keep passing my movie id into this reques

Having never used Scala, I can't answer for sure but it looks like you're just building out a URL with the HttpResponse object. Something like this is what I would think would work:

val TmdbRequest: HttpResponse[String] = Http("https://api.themoviedb.org/3/movie/550")
      .param("api_key", "######")
      .param("language", "en-US")
      .param("append_to_response", "reviews")
      .asString

It looks like HttpResponse is handling building the URL for you, so you don't need to worry about ? or &.

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