usrbg
v0.1.1
Published
A usrbg api wrapper
Downloads
2
Maintainers
Readme
USRBG
A api wrapper for usrbg
Usage
let usrbg = require('usrbg');
let instance = new usrbg(); // Create usrbg instance
// Optionaly pass a version: 1 or 2
(async()=>{
await instance.load() // Load data
console.log(instance.has('user id')) // Does user have a usrbg banner?
console.log(instance.get('user id')) // Get banner url
})()