I found this entry:
{'adult': False,
'backdrop_path': None,
'genre_ids': ['Drama'],
'id': 830366,
'original_language': 'ru',
'original_title': 'Thoughts in the forest',
'overview': 'A man comes to an isolated forest to confront his troubled relationship with his girlfriend and brother.',
'popularity': 0.6,
'poster_path': '/nM7Gajs2mQxykQdFIE8sj4Md5Vn.jpg',
'release_date': '2021-05-04',
'title': 'Thoughts in the forest',
'video': False,
'vote_average': 10,
'vote_count': 1}
where the genre_ids is not an integer. This messes up my code, as I have to keep adding exceptions and checking that the fields are what they are expected to be. Is there a regular maintenance of the MTDB database to guarantee that the fields contain the correct type of data? Thanks
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 22 de julio de 2021 a las 12:24
That looks like something client side as a number of the values you have in your response are not values that we return on the API. For example:
We don't return
False
,None
integers forvote_average
, or an array of string genres.Request
Response
Contestado por BuBanGo
el 22 de julio de 2021 a las 13:15
I used the discover movie end:
I don't remember the page number, though.