{"_id":"@balsick/gatsby-source-goodreads","_rev":"2-67163d76f93d1566dd37825fed4f9d28","name":"@balsick/gatsby-source-goodreads","dist-tags":{"latest":"0.3.4"},"versions":{"0.3.2-f":{"name":"@balsick/gatsby-source-goodreads","version":"0.3.2-f","description":"Get the public shelves and books for a Goodreads user for use in Gatsby.","repository":{"type":"git","url":"git+https://github.com/balsick/gatsby-source-goodreads.git"},"keywords":["goodreads","gatsby","gatsby-plugin"],"author":{"name":"Enrico Balsamo","email":"balsick@gmail.com","url":"https://www.balsick.it/"},"license":"MIT","dependencies":{"axios":"^0.17.1","xml2js":"^0.4.19"},"bugs":{"url":"https://github.com/balsick/gatsby-source-goodreads/issues"},"homepage":"https://github.com/balsick/gatsby-source-goodreads#readme","gitHead":"ddd49f5c13abd749e9ec2b10e49dea09bc8cce48","_id":"@balsick/gatsby-source-goodreads@0.3.2-f","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-8cPAMY/M6wxeSqBVVbBghwPUz03k8EzPNmHHwLx2AHVBenVa+6lOB/QixuNfD6Oqk3DjFpFikknxeh8tQdgwlA==","shasum":"bd11fc282a2718470fc1516974c87680ab0d7a42","tarball":"https://registry.npmjs.org/@balsick/gatsby-source-goodreads/-/gatsby-source-goodreads-0.3.2-f.tgz","fileCount":5,"unpackedSize":9146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeofCjCRA9TVsSAnZWagAAnSwP/3EfA8VCbpEVIoMlyB9P\nZtbxTuwFTRjJ+T0sWbTQ6tds4EhhBleD13tKLS2fyIlGf1oKbKgxL/nkaKSa\nUCSFzF6uYTTOqGlfknD3Xq0qEhAK2gkhD8WBKrbQ9OIhPJPay9/0sKQ9XXF3\nOaq+UrLhAL4T7idv5gJi17YUlD8u27EeJe72KUf6erGV0emjtYJvapj45q7a\npYYB59iT+Cwbh9z1QOwtgsPNN+bJGGgmE/cvvQpHZZKrr9NOgyA+K2CWEIhF\nPbHr1BjtUUWf7vY+VnASY/h0O0W/2ndhAcwnmoF1Fg6w4cg3Q0vJSh3CkYBj\ntHbVQuKqk4ZVQW0VWFvj9UIKI5UsgZ1QnOpMJAHoqZ/7UIQZgETKIa4CJ9zR\n7yB66dU9xbYOA01DFbjIka0sM9XWBHo5Y8H8CAeu3rB2k4yCmdXBD/OKjDZP\nmaJKP8chj+Vq2LBF2C2vZfLGhs7oRos8cugr4ZWDw38yXNNhLr+2X1JCTz0Y\ndyNtRJ7FOZND2lroRzVX1jVfVDlJBi8mRcSdB5Z+23cBKA3KBnSoXU/fR3QN\nVt3x79RIQlCfTMwbcjkypRIfifZnV2uATH3DZp8KN32N3lmyUgo+Egh6f7mL\nCDINtZmONyG00O7M1Ie3t5KEp1MdSVe8VP3/ScIOGju+lQWQ4u+jIYGFqTIi\naROU\r\n=i5Tz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnEj88AYiryj+q47f3rapER59iwqzu3rZJQ/S/6BFg5QIhAO2Wu341wyWbs7c1QkZuzvNq8yXJEiHRk+K2Vl4C5Smi"}]},"maintainers":[{"name":"balsick","email":"balsick@gmail.com"}],"_npmUser":{"name":"balsick","email":"balsick@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-source-goodreads_0.3.2-f_1587671203151_0.7914773830893924"},"_hasShrinkwrap":false},"0.3.4":{"name":"@balsick/gatsby-source-goodreads","version":"0.3.4","description":"Get the public shelves and books for a Goodreads user for use in Gatsby.","repository":{"type":"git","url":"git+https://github.com/balsick/gatsby-source-goodreads.git"},"keywords":["goodreads","gatsby","gatsby-plugin"],"author":{"name":"Enrico Balsamo","email":"balsick@gmail.com","url":"https://www.balsick.it/"},"license":"MIT","dependencies":{"axios":"^0.17.1","xml2js":"^0.4.19"},"bugs":{"url":"https://github.com/balsick/gatsby-source-goodreads/issues"},"homepage":"https://github.com/balsick/gatsby-source-goodreads#readme","gitHead":"e12d144c5b917696419ab343b648b6f6a3c04c48","_id":"@balsick/gatsby-source-goodreads@0.3.4","_nodeVersion":"12.16.2","_npmVersion":"6.14.4","dist":{"integrity":"sha512-ZQvLhKBYJX2SHrVGbN1sGVAdgQan7CBIAiioj67QpEVl5Bnf9mHsijq+p0K3YEzvTY2miGvRHvpGcY5eYHZ/yg==","shasum":"34e625c8dbe4b5aec60b806bfb790d0c432c5512","tarball":"https://registry.npmjs.org/@balsick/gatsby-source-goodreads/-/gatsby-source-goodreads-0.3.4.tgz","fileCount":5,"unpackedSize":10400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeogQoCRA9TVsSAnZWagAABcgP+gJudB+axktz/EVDf1Sa\nBDyqJTWQtueckQLqrpHXH1ktnulhQSVGDdq11ZsD4W0luCYqhlloWh677XbC\nz+VCcDuWZZfwwuSOfAFXXM+ojEuxc8tlS2lt4nfunArQRv0o/gTGm0hAlhde\nLXphhnE+16xeocfipjeD2yA9Y9LDBIp3XKhtUR9JZZZteWJWpc9TP2ZJETH1\nerAB8gpW00l5nQmHGiFUBqUSaotP3upgL+bKO0sq1inrzJMm0F/K5I+4eBRe\ns3WfcyMEAABkVvGOddpwKotWhLwmHVyK6nraaAHPu+N/1+UnOSFX9g7QePQw\nV2LOkcPh7DPqFcGmNeVsPigAaoYGpWnSNVsyZcVREkFdtoYO5PkkBK8ZfEHF\n61c355QQgsVa27TR+ErXCGa+j3nvDRqaKJt+JoPQURUZsGNWkCz9jLs+b9wE\n7TAO+SZ3G2nSK2ga3Yk4FQqdtiZiI04fjtsNmnWql+B2hY+m4RfTlKmbQZXh\nw98LMLuA2SNTZv/yOD+zLRSMHSgNnj8QORptIdvSC4B3TnMuPUrRWQ51zqwA\nf0o4B46wqCPcGcv+/HfIxChK5KP+7eqs75FzfueoMTgOs6DisSMiSY7f+Y3t\nLCaBrXlscYtZo7OHNjrolsewcWLfBlSR/mOxpn83EPnoXYyXOy351rbBnuP5\n7O5Y\r\n=l35x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDalfugqh/AJYmM3W/JC5ecQy//JPUYGCfWBOEl2hDNlwIhAIXXGF1/MI3hV7CMFBWKjlBWLCc8FjlEFZ/FUNUYEU1I"}]},"maintainers":[{"name":"balsick","email":"balsick@gmail.com"}],"_npmUser":{"name":"balsick","email":"balsick@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-source-goodreads_0.3.4_1587676199616_0.1031091766788359"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-23T19:46:43.099Z","0.3.2-f":"2020-04-23T19:46:43.318Z","modified":"2022-04-04T17:39:29.596Z","0.3.4":"2020-04-23T21:09:59.761Z"},"maintainers":[{"name":"balsick","email":"balsick@gmail.com"}],"description":"Get the public shelves and books for a Goodreads user for use in Gatsby.","homepage":"https://github.com/balsick/gatsby-source-goodreads#readme","keywords":["goodreads","gatsby","gatsby-plugin"],"repository":{"type":"git","url":"git+https://github.com/balsick/gatsby-source-goodreads.git"},"author":{"name":"Enrico Balsamo","email":"balsick@gmail.com","url":"https://www.balsick.it/"},"bugs":{"url":"https://github.com/balsick/gatsby-source-goodreads/issues"},"license":"MIT","readme":"# gatsby-source-goodreads\r\n\r\nSource plugin for pulling your shelved books into Gatsby from Goodreads API.\r\n\r\n## How to use\r\nInstall the plugin\r\n```sh\r\nnpm i @balsick/gatsby-source-goodreads\r\n```\r\nThen configure the plugin in `gatsby-config.js`\r\n```javascript\r\n// In your gatsby-config.js\r\nmodule.exports = {\r\n  plugins: [\r\n    {\r\n      resolve: \"@balsick/gatsby-source-goodreads\",\r\n      options: {\r\n        developerKey: \"IAmDeveloperKey\",\r\n        goodReadsUserId: \"IAmGoodreadsUserId\",\r\n        userShelf: \"to-read\" //optional\r\n        userShelves: ['to-read','currently-reading','custom-shelf',...] //optional\r\n      }\r\n    }\r\n  ],\r\n}\r\n```\r\n\r\n## Plugin options\r\n\r\n* **developerKey**: Use your [Goodreads developer API key](https://www.goodreads.com/api/keys)\r\n* **goodReadsUserId**: The Goodreads user ID of the user to get data for.\r\n* **userShelf**: _OPTIONAL_. read, currently-reading, to-read, etc.\r\n* **userShelves**: _OPTIONAL_. An array containing the names of the shelves to query.\r\n\r\nIf neither **userShelf** nor **userShelves** are set, all the user shelves are queried.\r\n\r\n## How to query your Goodread data using GraphQL\r\n\r\nBelow is a sample query for fetching the shelf's books. \r\n\r\n```graphql\r\nquery goodRead {\r\n  goodreadsShelves {\r\n    goodreadsShelf {\r\n      shelfName\r\n      reviews {\r\n        book {\r\n          title\r\n          smallImageUrl\r\n          link\r\n          description\r\n        }\r\n        dateAdded\r\n        rating\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nYou can query all the set shelves, some shelves only or a single shelf.\r\nFor querying a single shelf, a query like this can be used.\r\n\r\n```graphql\r\nquery goodRead {\r\n  goodreadsShelf(shelfName: {eq: \"to-read\"}) {\r\n    shelfName\r\n    reviews {\r\n      reviewID\r\n      rating\r\n      votes\r\n      spoilerFlag\r\n      spoilersState\r\n      dateAdded\r\n      dateUpdated\r\n      book {\r\n        bookID\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n","readmeFilename":"README.md"}