I try this api and i find a problem, this is my code:
fetch(' https://api.themoviedb.org/3/discover/tv?api_key=myapikey&language=en-US&sort_by=popularity.desc&page=1&timezone=America%2FNew_York&include_null_first_air_dates=false')
.then((data) => res.json(data))
.catch((err) => res.send(err));
i get back size: 0 and timeout: 0
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on October 20, 2018 at 3:12 PM
Hi @Alex_it,
I'm not really able to help troubleshoot code specific issues. You can see the query itself is working fine (open this in your browser):
For something like this, you're best bet is to probably ask your question on Stack Overflow.
Hope that helps, cheers.