gatsby-source-steam
Gatsby source plugin for building websites using Steam as a data source
Last updated 4 months ago by jamesdanylik .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gatsby-source-steam 
SYNC missed versions from official npm registry.

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
      }
    }
  }
}

Current Tags

  • 0.2.1                                ...           latest (4 months ago)

4 Versions

  • 0.2.1                                ...           4 months ago
  • 0.2.0                                ...           4 months ago
  • 0.1.0                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 9
Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |