Assistance de TMDB

Hi,

Thanks for the great API's!

I think there might be a bug on the person/popular API as it returns movies in stead of persons.

URL: http://api.themoviedb.org/3/person/popular?api_key=###

Best Regards!

Waldo

2 réponses (sur la page 1 sur 1)

Jump to last post

Hi Waldo,

I am not seeing this...


{
  "page": 1,
  "results": [
    {
      "adult": false,
      "id": 28782,
      "known_for": [
        {
          "adult": false,
          "backdrop_path": "/Fp3piEuHXxKnPBO5R0Wj4wjZHg.jpg",
          "genre_ids": [
            12,
            28,
            53,
            878
          ],
          "id": 604,
          "original_language": "en",
          "original_title": "The Matrix Reloaded",
          "overview": "Six months after the events depicted in The Matrix, Neo has proved to be a good omen for the free humans, as more and more humans are being freed from the matrix and brought to Zion, the one and only stronghold of the Resistance.  Neo himself has discovered his superpowers including super speed, ability to see the codes of the things inside the matrix and a certain degree of pre-cognition. But a nasty piece of news hits the human resistance: 250,000 machine sentinels are digging to Zion and would reach them in 72 hours. As Zion prepares for the ultimate war, Neo, Morpheus and Trinity are advised by the Oracle to find the Keymaker who would help them reach the Source.  Meanwhile Neo's recurrent dreams depicting Trinity's death have got him worried and as if it was not enough, Agent Smith has somehow escaped deletion, has become more powerful than before and has fixed Neo as his next target.",
          "release_date": "2003-05-06",
          "poster_path": "/p6Y26NwAOi7Vg8KZLoDaPl5j7Pw.jpg",
          "popularity": 3.94354,
          "title": "The Matrix Reloaded",
          "video": false,
          "vote_average": 6.5,
          "vote_count": 1656,
          "media_type": "movie"
        },
        {
          "adult": false,
          "backdrop_path": "/o6Xif3e9flyYiuel1qGxGMvqKx0.jpg",
          "genre_ids": [
            28,
            12,
            878,
            53
          ],
          "id": 605,
          "original_language": "en",
          "original_title": "The Matrix Revolutions",
          "overview": "The human city of Zion defends itself against the massive invasion of the machines as Neo fights to end the war at another front while also opposing the rogue Agent Smith.",
          "release_date": "2003-10-26",
          "poster_path": "/sKogjhfs5q3azmpW7DFKKAeLEG8.jpg",
          "popularity": 3.061259,
          "title": "The Matrix Revolutions",
          "video": false,
          "vote_average": 6.3,
          "vote_count": 1489,
          "media_type": "movie"
        },
        {
          "adult": false,
          "backdrop_path": "/v0o9M1us65w1kDQp8Q6KnB5a11s.jpg",
          "genre_ids": [
            14,
            12,
            28,
            35,
            18
          ],
          "id": 27022,
          "original_language": "en",
          "original_title": "The Sorcerer's Apprentice",
          "overview": "Balthazar Blake is a master sorcerer in modern-day Manhattan trying to defend the city from his arch-nemesis, Maxim Horvath. Balthazar can't do it alone, so he recruits Dave Stutler, a seemingly average guy who demonstrates hidden potential, as his reluctant protégé. The sorcerer gives his unwilling accomplice a crash course in the art and science of magic, and together, these unlikely partners work to stop the forces of darkness.",
          "release_date": "2010-07-13",
          "poster_path": "/ZNSrRpdJ6FjMy4Iu6JpRTJ5Q87.jpg",
          "popularity": 3.611462,
          "title": "The Sorcerer's Apprentice",
          "video": false,
          "vote_average": 5.9,
          "vote_count": 453,
          "media_type": "movie"
        }
      ],
      "name": "Monica Bellucci",
      "popularity": 45.961253,
      "profile_path": "/z3sLuRKP7hQVrvSTsqdLjGSldwG.jpg"
    },
    {
      "adult": false,
      "id": 1223786,
      "known_for": [
        {
          "adult": false,
          "backdrop_path": "/o4I5sHdjzs29hBWzHtS2MKD3JsM.jpg",
          "genre_ids": [
            878,
            28,
            53,
            12
          ],
          "id": 87101,
          "original_language": "en",
          "original_title": "Terminator Genisys",
          "overview": "The year is 2029. John Connor, leader of the resistance continues the war against the machines. At the Los Angeles offensive, John's fears of the unknown future begin to emerge when TECOM spies reveal a new plot by SkyNet that will attack him from both fronts; past and future, and will ultimately change warfare forever.",
          "release_date": "2015-07-01",
          "poster_path": "/5JU9ytZJyR3zmClGmVm9q4Geqbd.jpg",
          "popularity": 51.688756,
          "title": "Terminator Genisys",
          "video": false,
          "vote_average": 6.3,
          "vote_count": 316,
          "media_type": "movie"
        },
        {
          "backdrop_path": "/aKz3lXU71wqdslC1IYRC3yHD6yw.jpg",
          "first_air_date": "2011-04-17",
          "genre_ids": [
            10765,
            18
          ],
          "id": 1399,
          "original_language": "en",
          "original_name": "Game of Thrones",
          "overview": "Seven noble families fight for control of the mythical land of Westeros. Friction between the houses leads to full-scale war. All while a very ancient evil awakens in the farthest north. Amidst the war, a neglected military order of misfits, the Night's Watch, is all that stands between the realms of men and icy horrors beyond.\n\n",
          "origin_country": [
            "US"
          ],
          "poster_path": "/jIhL6mlT7AblhbHJgEoiBIOUVl1.jpg",
          "popularity": 21.180517,
          "name": "Game of Thrones",
          "vote_average": 9.0,
          "vote_count": 295,
          "media_type": "tv"
        },
        {
          "adult": false,
          "backdrop_path": "/1qzClUQQWDVO6nc1nU2F4AAjfKq.jpg",
          "genre_ids": [
            35,
            80,
            18
          ],
          "id": 192134,
          "original_language": "en",
          "original_title": "Dom Hemingway",
          "overview": "After spending 12 years in prison for keeping his mouth shut, notorious safe-cracker Dom Hemingway is back on the streets of London looking to collect what he's owed.",
          "release_date": "2013-11-15",
          "poster_path": "/tKJck9jAXaCWZvexlbQ85NeAhro.jpg",
          "popularity": 1.345525,
          "title": "Dom Hemingway",
          "video": false,
          "vote_average": 6.1,
          "vote_count": 81,
          "media_type": "movie"
        }
      ],
      "name": "Emilia Clarke",
      "popularity": 28.038285,
      "profile_path": "/xMIjXRUkxpQs2o5VI3Om3yn6hNV.jpg"
    },
    ...
  ],
  "total_pages": 29602,
  "total_results": 592038
}

Are you sure you didn't just see the known_for blocks?

Hi Travis,

I feel like such an idiot for this mistake.

Thanks for pointing it out for me!

Regards,

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion