0.0.12 • Published 6 years ago

gatsby-plugin-goodreads v0.0.12

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

RENAMED TO: gatsby-source-goodreads

gatsby-plugin-goodreads

Source plugin for pulling your read books into Gatsby from Goodreads API.

How to use

// In your gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: "gatsby-plugin-goodreads",
      options: {
        developerKey: "IAmDeveloperKey",
        goodReadsUserId: "IAmGoodreadsUserId",
        userShelf: "to-read" //optional
      }
    }
  ],
}

Plugin options

  • developerKey: Use your Goodreads developer API key
  • goodReadsUserId: The Goodreads user ID of the user to get data for.
  • userShelf: OPTIONAL. read, currently-reading, to-read, etc.

How to query your Goodread data using GraphQL

Below is a sample query for fetching the shelf's books.

query shelfList {
  allGoodreadsShelf {
    edges {
      node {
        id
        shelfName
        reviews {
          reviewID
          rating
          votes
          spoilerFlag
          spoilersState
          dateAdded
          dateUpdated
          book {
            bookID
            textReviewsCount
            isbn
            isbn13
            uri
            title
            titleWithoutSeries
          }
        }
      }
    }
  }
}
0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago