Skip to content
Source from The Movie Database (TMDb) API (v3) in Gatsby.
Branch: master
Clone or download

README.md

gatsby-source-tmdb-example

Source from The Movie Database (TMDb) API (v3) in Gatsby.

Built with gatsby-source-tmdb.

Deploy to Netlify

How to use

  1. Create an account on GitHub
  2. Create an account/Login on The Movie Database and grab your API Key
  3. Create your Session ID
    1. Create a new request token by inserting your API key into the api_key field on the "Try it out" tab
    2. Make sure to allow your account writing-access to that request token by following the url https://www.themoviedb.org/authenticate/{place-your-request-token-here}
    3. Create a new Session ID by going to the "Try it out" tab, insert your API key into the api_key field and insert your request token into the Request Body json, so:
    {
      "request_token": "place-your-request-token-here"
    }
  4. Add films/TV shows to your watchlist/favourites or create lists
  5. Click on the "Deploy to Netlify" button, connect your GitHub and insert your API key and Session ID into the corresponding fields. Those two are mandatory, the rest can be left out or changed later.
You can’t perform that action at this time.