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
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da Travis Bell
il 5 febbraio, 2017 alle 10:31AM
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.