wiosnamonika / workshop-js-dom-apis

JavaScript & DOM: fetching and displaying data from API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Workshop - Step 1

Expected result

Popular movies metadata printed to the console.

console output

Steps

  1. go to http://jsbin.com/
  2. log in (to make sure your work is properly saved)
  3. uncheck the 'Auto-run JS' checkbox in the 'Output' tab
  4. activate the 'Console' tab
  5. download movie data from https://api.themoviedb.org/3/movie/popular using 46270c06c4dcf45c52b9f26efbe2841d as your API key (api_key=4627....)
  6. print fetched information to the console (using console.log())

Docs

About

JavaScript & DOM: fetching and displaying data from API