1.1.2 • Published 4 years ago

gatsby-source-potterapi v1.1.2

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

gatsby-source-potterapi

Source plugin for https://www.potterapi.com/. You can find an example in the example directory.

Install

npm install --save gatsby-source-potterapi

How to use

Prerequisites

Go to potterapi.com and create an account. Afterwards you can see your API key on your profile.

Save the API key in an environment file like:

POTTER_KEY=your-api-key-here

gatsby-config

Add the plugin and define the API key.

module.exports = {
  plugins: [
    {
      resolve: 'gatsby-source-potterapi',
      options: {
        key: process.env.POTTER_KEY,
      }
    }
  ]
}
1.1.1

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago