UNPKG

giantbomb

Version:

A simple, consistent wrapper for the Giant Bomb API.

35 lines (23 loc) 1.34 kB
# Giant Bomb for Node.js [![Travis](https://img.shields.io/travis/claflamme/node-giantbomb.svg)](https://travis-ci.org/claflamme/node-giantbomb) [![Coverage Status](https://coveralls.io/repos/github/claflamme/node-giantbomb/badge.svg?branch=master)](https://coveralls.io/github/claflamme/node-giantbomb?branch=master) [![npm](https://img.shields.io/npm/v/giantbomb.svg)](https://www.npmjs.com/package/giantbomb) [![license](https://img.shields.io/npm/l/giantbomb.svg)](https://github.com/claflamme/node-giantbomb/blob/master/LICENSE) This **_entirely unofficial_** project is a JavaScript wrapper around the [Giant Bomb API](http://www.giantbomb.com/api/). It aims to provide a simple, consistent interface with robust documentation. ### Installation ``` npm install giantbomb ``` ### Get Started ```js const giantbomb = require('giantbomb'); const gb = giantbomb('API_KEY_HERE'); // Display details for Mass Effect. gb.games.get(16909, (err, res, json) => { console.log(json.results); }); ``` ### Documentation Check out [the wiki](https://github.com/claflamme/node-giantbomb/wiki) for more information and examples. ### Support If you have any problems or questions, please [create an issue](https://github.com/claflamme/node-giantbomb/issues) or message [hogonalog](http://www.giantbomb.com/profile/hogonalog/) on GiantBomb.