1.0.5 • Published 5 years ago

gatsby-source-openweathermap v1.0.5

Weekly downloads
9
License
MIT
Repository
github
Last release
5 years ago

gatsby-source-openweathermap

This source plugin for Gatsby will make weather infomation from OpenWeatherMap available in GraphQL queries.

Installation

# Install the plugin
yarn add gatsby-source-openweathermap

In gatsby-config.js:

module.exports = {
  plugins: [
 {
      resolve: `gatsby-source-openweathermap`,
      options: {
        apikey: 'YOUR KEY',
        location: 'York',
        units: 'metric',
        type: 'forecast'
      },
    },
  ]
};

NOTE: To get a OpenWeatherMap API key, register for a OpenWeatherMap account.

See the OpenWeatherMap API docs.

1.0.5

5 years ago

1.0.4

5 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