Skip to content

A simple GraphQL wrapper for the Goodreads API

Notifications You must be signed in to change notification settings

revskill10/graphql-goodreads

 
 

Repository files navigation

A simple GraphQL wrapper for the Goodreads API

Seeing as it was only for learning/concept purposes, this only wraps the authors endpoint.

Setup

export GOODREADS_API_KEY={YOUR_API_KEY}
git clone https://github.com/NoahCardoza/graphql-goodreads.git
cd graphql-goodreads
npm install
npm start

This will start a GraphiQL server at http://localhost:4000/graphql where you can send queries.

For example

{
  author(id: 160033) {
    name,
    books {
      id,
      title,
      isbn,
      authors {
        id,
        name
      }
    }
  }
}

About

A simple GraphQL wrapper for the Goodreads API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%