The Movie Database-ondersteuning

I have all my fields strongly typed but ran into problem with the api returning null in the vote_average. Is it generally preferred to treat fields as objects and check in code or is this a passing issue?

{

"page": 1,
"results": [
    {
        "adult": false,
        "backdrop_path": "/v8CJJ2MsYA3C876yII75SPMLUfA.jpg",
        "id": 9884,
        "original_title": "Collateral Damage",
        "release_date": "2002-02-03",
        "poster_path": "/o5TScwlDu3uPzbqZ5IYwlUtMP4O.jpg",
        "popularity": 2.06211273132946,
        "title": "Collateral Damage",
        "vote_average": null,
        "vote_count": 40
    }
],
"total_pages": 1,
"total_results": 1

}

2 antwoorden (op pagina 1 van 1)

Jump to last post

This was actually a temporary glitch that got deployed this morning. I just pushed the fix for it and once the cached items get cleared you shouldn't see null anymore. Default for the vote_average field is 0.0.

Ok thanks for the quick response.

Martin

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op tv-seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met tv-series

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c schakelen sluiten/openen
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen