SomeT
1 year ago

Making this API code bring through more relevant data?

Posted 1 year ago by SomeT

I have this code I have written here:

https://jsfiddle.net/dfwq57pz/

However the code does not bring up relevant/modern movies, it brings up random movies that I have never heard of, also I can't get it to skip the movies it does not find.

I wanted to do something like on this website:

https://www.randomlists.com/random-movies?qty=1&dup=false

But it is impossible to contact the owner, view the sites source code etc... I presume they have done it on the backend.

I am thinking I would need to do something as per:

https://developers.themoviedb.org/3/discover/movie-discover

However, when I try to amend my code in the above JSFiddle it does not work. An attempt as such can viewed here:

https://pastebin.com/RkrZ2WKz

Overall to reiterate I want to:

Please sign in or create an account to participate in this conversation.