Node.js API bindings and sample code create Gameflip listings for Steam items
- REST API documentation
- Node.js GFAPI Bindings
- Node.js Sample Code
To get the API Key and secret, contact Gameflip support. During Beta, API Keys are only being given out to select customers.
1. Install Git, NodeJS v12 LTS, and Python 2.7.14
git clone https://github.com/gameflip/gfapi.git
cd gfapi
npm install
(Optional) Mac and Linux:
This command converts src/samples/*.js
files into HTML as seen on the documentation website.
npm run-script docs
Mac and Linux:
export GFAPI_KEY=<my_api_key>
export GFAPI_SECRET=<my_api_secret>
node src/samples/search_listing.js
Windows:
SET GFAPI_KEY=<my_api_key>
SET GFAPI_SECRET=<my_api_secret>
node src\samples\search_listing.js
npm install 'gameflip/gfapi'