Suporte do The Movie Database

Hello,

for every request I do with the API (discover/movies) on android, the vote_average is aways null to all movies.

1 resposta (na página 1 de 1)

Jump to last post

You'll have to look at how your parsing fields as the data is present:

Request

curl -v "https://api.themoviedb.org/3/discover/movie?api_key=###&include_adult=false&include_video=false&vote_average.gte=7&with_release_type=3&release_date.gte=2001-01-01&release_date.lte=2001-12-31"
*   Trying 23.21.92.78...
* TCP_NODELAY set
* Connected to api.themoviedb.org (23.21.92.78) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: CN=*.themoviedb.org
*  start date: Dec  3 00:00:00 2018 GMT
*  expire date: Dec  2 12:00:00 2020 GMT
*  subjectAltName: host "api.themoviedb.org" matched cert's "*.themoviedb.org"
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=RapidSSL RSA CA 2018
*  SSL certificate verify ok.
> GET /3/discover/movie?api_key=###&include_adult=false&include_video=false&vote_average.gte=7&with_release_type=3&release_date.gte=2001-01-01&release_date.lte=2001-12-31 HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After
< Cache-Control: public, max-age=21600
< Content-Type: application/json;charset=utf-8
< Date: Wed, 15 May 2019 15:17:36 GMT
< ETag: 350035841e1182bf4389c52752d8bd0d
< Server: openresty
< Vary: Accept-Encoding
< Content-Length: 12939
< Connection: keep-alive
<
* Connection #0 to host api.themoviedb.org left intact

Response

{
  "page": 1,
  "total_results": 679,
  "total_pages": 34,
  "results": [
    {
      "vote_count": 13719,
      "id": 671,
      "video": false,
      "vote_average": 7.8,
      "title": "Harry Potter and the Philosopher's Stone",
      "popularity": 50.91,
      "poster_path": "/dCtFvscYcXQKTNvyyaQr2g2UacJ.jpg",
      "original_language": "en",
      "original_title": "Harry Potter and the Philosopher's Stone",
      "genre_ids": [
        12,
        14,
        10751
      ],
      "backdrop_path": "/hziiv14OpD73u9gAak4XDDfBKa2.jpg",
      "adult": false,
      "overview": "Harry Potter has lived under the stairs at his aunt and uncle's house his whole life. But on his 11th birthday, he learns he's a powerful wizard -- with a place waiting for him at the Hogwarts School of Witchcraft and Wizardry. As he learns to harness his newfound powers with the help of the school's kindly headmaster, Harry uncovers the truth about his parents' deaths -- and about the villain who's to blame.",
      "release_date": "2001-11-16"
    },
    {
      "vote_count": 14288,
      "id": 120,
      "video": false,
      "vote_average": 8.3,
      "title": "The Lord of the Rings: The Fellowship of the Ring",
      "popularity": 45.747,
      "poster_path": "/56zTpe2xvaA4alU51sRWPoKPYZy.jpg",
      "original_language": "en",
      "original_title": "The Lord of the Rings: The Fellowship of the Ring",
      "genre_ids": [
        12,
        14,
        28
      ],
      "backdrop_path": "/pIUvQ9Ed35wlWhY2oU6OmwEsmzG.jpg",
      "adult": false,
      "overview": "Young hobbit Frodo Baggins, after inheriting a mysterious ring from his uncle Bilbo, must leave his home in order to keep it from falling into the hands of its evil creator. Along the way, a fellowship is formed to protect the ringbearer and make sure that the ring arrives at its final destination: Mt. Doom, the only place where it can be destroyed.",
      "release_date": "2001-12-18"
    },
    {
      "vote_count": 7298,
      "id": 129,
      "video": false,
      "vote_average": 8.5,
      "title": "Spirited Away",
      "popularity": 33.405,
      "poster_path": "/oRvMaJOmapypFUcQqpgHMZA6qL9.jpg",
      "original_language": "ja",
      "original_title": "千と千尋の神隠し",
      "genre_ids": [
        16,
        10751,
        14
      ],
      "backdrop_path": "/mnpRKVSXBX6jb56nabvmGKA0Wig.jpg",
      "adult": false,
      "overview": "A young girl, Chihiro, becomes trapped in a strange new world of spirits. When her parents undergo a mysterious transformation, she must call upon the courage she never knew she had to free her family.",
      "release_date": "2001-07-20"
    },
    ...
  ]
}

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