Hi, I just noticed that the field revenue is a String object and not a numeric as one could expected. Was it made on purpose ? Is it in dollars ? It would be cool if the api could do the conversion based on the Locale
Thanks
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 5 février 2017 à 10h31
Just an oversight, yes. I'll get it fixed.
All revenue on TMDb is assumed to be in USD. I'm not sure it makes sense to format the value API side, well, at least not as is. Maybe a formatted field would be useful. Although this API has no concept of locale formatting so I would need to hook that up first and at this time, it's a relatively low priority.