2.0.3 • Published 7 years ago

bgg-axios v2.0.3

Weekly downloads
3
License
BSD-2-Clause
Repository
github
Last release
7 years ago

BGG API axios client

Fork of bgg. Originally developed by ~monteslu.

A promises aware boardgamegeek.com API client that uses axios

Supports BGG XMLAPI2

install

npm install bgg-axios

Usage

const bgg = require('bgg')

bgg.apiRequest('collection', { username: 'marcio_os' })
  .then(function (results) {
    console.log(results)
  })

bgg.search('arkham horror')
  .then(function (results) {
    console.log(results)
  })

The search function has an optional second parameter to limit the number of results (default: 3).

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.1.0

7 years ago