Gatsby plugin that pulls data from a published Google sheet.
Use Yarn or npm.
yarn add gatsby-source-published-google-sheets
# or
npm install --save gatsby-source-published-google-sheets
- Make sure your spreadsheet is published.
- Note your spreadsheet's id. This is the random string that's in the middle of your spreadsheet's url. Google
- Add the plugin to
plugins
in yourgatsby-config.js
. It should look something like:
module.exports = {
plugins: [
{
resolve: 'gatsby-source-published-google-sheets',
options: {
sheetID: 'Google sheet id',
},
},
],
}