Skip to content

lucasschejtman/imdb-graphql-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMDB GraphQL API

GraphQL API for the unofficial IMDB Rest APIs Omdb and IMDb JSON Api

  1. Clone repository git clone https://github.com/lucasschejtman/imdb-graphql-flow && cd imdb-graphql-flow
  2. Install dependencies npm install
  3. Run npm run dev (or npm run build to transpile)
  4. Navigate to http://localhost:3000/graphql to use graphiql

Example query

{
  Title(id: "tt0944947") {
    ... TitleFragment,

    ... on Movie {
      Released
    },

    ... on Series {
      totalSeasons,
      Episodes(fromSeason: 6) {
        Title,
        Director,
        imdbRating,
        Released
      }
    },

    ... on Episode {
      Episode
    }
  },

  Person(id: "nm0000115") {
    title,
    filmography(first: 2) {
      title,
      year
    }
  }
}

fragment TitleFragment on Title
{
  Type,
  Year,
  Title,
  Rated,
  Awards,
  imdbID,
  Poster,
  Runtime,
  Country,
  Language,
  Metascore,
  imdbVotes,
  imdbRating,
  Genre,
  Writer,
  Director,
  Actors,
  Released
}

About

No description or website provided.

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published