0.1.1 • Published 2 years ago
gfapi v0.1.1
GFAPI
Node.js API bindings and sample code create Gameflip listings for Steam items
- REST API documentation
- Node.js GFAPI Bindings
- Node.js Sample Code
API Key and OTP secret
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
2. Download sample code
git clone https://github.com/gameflip/gfapi.git
3. Install dependencies
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
4. Run Sample Code
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
5. For your own project, you just install gfapi npm
npm install 'gameflip/gfapi'
0.1.1
2 years ago