0.2.0 • Published 10 years ago

giantbomb-api v0.2.0

Weekly downloads
28
License
-
Repository
github
Last release
10 years ago

GiantBomb API Explorer

Made for node.js (that was 4y ago)

Install

Demonstration

var GBAPI = require('./main.js');

var apiToken = 'your-api-token'; //required!
var responseLimit = 3; //defaults to a 100, but 3 is goot to test
var cacheHours = 0; //defaults to 0 as disabled

var gb = new GBAPI(apiToken, responseLimit, cacheHours);

// now, start making some requests to see how it works!

gb.platforms(console.log)                   // list first 3 platforms
gb.gamesOfPlatform( 36, console.log )          // list first 3 Wii games
gb.game( 67, function(err, resp){  // tiger woods
	console.log( resp.results.name, '-', resp.results.original_release_date )
})

Extending

It is easy to extend the API acces by using the methods buildtUrl and exec

Upon creating useful methods you may send me a pull request or post it in a gist and point it at Issues

Docs

See https://github.com/flockonus/giantbomb_api/blob/master/main.js

Contributors

  • @flockonus
  • @Ronald-Diemicke
0.2.0

10 years ago

0.1.3

13 years ago

0.1.2

13 years ago

0.1.1

13 years ago

0.1.0

13 years ago

0.0.4

13 years ago

0.0.3

13 years ago

0.0.2

13 years ago

0.0.1

13 years ago