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
Can't find a movie or TV show? Login to create it.
ต้องการให้คะแนนหรือเพิ่มรายการนี้ไปยังรายการหรือไม่
ไม่ใช่สมาชิกเหรอ
Reply by Travis Bell
on February 5, 2017 at 10:31 ก่อนเที่ยง
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.