Popular movies metadata printed to the console.
- go to http://jsbin.com/
- log in (to make sure your work is properly saved)
- uncheck the 'Auto-run JS' checkbox in the 'Output' tab
- activate the 'Console' tab
- download movie data from https://api.themoviedb.org/3/movie/popular using
46270c06c4dcf45c52b9f26efbe2841d
as your API key (api_key=4627....
) - print fetched information to the console (using
console.log()
)
- documentation for
fetch
- https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch - documentation for
URL
object - https://developer.mozilla.org/en/docs/Web/API/URL - documentation for The Movie Database API - https://developers.themoviedb.org/3
- documentation for
console.log
- https://developer.mozilla.org/en/docs/Web/API/Console/log