Closed Nevercom closed 3 years ago
TMDB API: release_dates Sample Request: https://api.themoviedb.org/3/movie/240/release_dates
release_dates
https://api.themoviedb.org/3/movie/240/release_dates
{ "iso_3166_1": "PT", "release_dates": [ { "certification": "M/16", "iso_639_1": "en", "release_date": "1977-10-14T00:00:00.000Z", "type": 3 } ] }
As shown in the example response, note field is not always present in the JSON Object.
note
https://github.com/vkay94/TMDb-Kotlin/blob/f3c9ad99439f765c5923bfe8674aebd72c05e8e3/src/main/java/de/vkay/api/tmdb/models/TmdbReleaseDate.kt#L11
Good catch, thanks :). It seems to be an API bug on their side. Unfortunately, there were many cases like these - at least they can be fixed easily in Kotlin xD
TMDB API:
release_dates
Sample Request:https://api.themoviedb.org/3/movie/240/release_dates
As shown in the example response,
note
field is not always present in the JSON Object.https://github.com/vkay94/TMDb-Kotlin/blob/f3c9ad99439f765c5923bfe8674aebd72c05e8e3/src/main/java/de/vkay/api/tmdb/models/TmdbReleaseDate.kt#L11