Skip to content
Gatsby source plugin for building websites using Steam as a data source
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.babelrc
.gitignore
.npmignore
.travis.yml
README.md
gatsby-node.js
index.js
nodes.js
package.json

README.md

gatsby-source-steam

This is a source plugin for GatsbyJS to pull information from the Steam API.

Installation

Install as a dependancy from npm.

npm install gatsby-source-steam --save

Configuration

Adjust your gatsby-config.js as follows:

module.exports = {
  plugins: [
    {
    resolve: "gatsby-source-steam",
      options: {
        api_key: "<<YOUR STEAM API KEY>>", //key
        user_id: "<<A USER STEAM ID TO FOLLOW>>" // steamid
         }
    },
    ...
  ]
...
}

Provided Queries

{
  allSteamGame {
    edges {
      node {
        id
        name
        playtime_2weeks
        playtime_forever
        img_icon_url
        img_logo_url
      }
    }
  }
}
You can’t perform that action at this time.