Skip to content
/ bgg Public
forked from monteslu/bgg

boardgamegeek API client for Node.js

Notifications You must be signed in to change notification settings

marcioos/bgg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

boardgamegeek API client for Node.js

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%