Bored API Wrapper
Wrapper for the Bored API
Install
$ npm install bored
Usage
const bored = ; bored; bored;
Functions
random
Find a random activity with specified parameters
let bored = ; // You can use some or all of these fiendslet options = type: // ['education', 'recreational', 'social', 'diy', 'charity', 'cooking', 'relaxation', 'music', 'busywork'] participants: // [1, ...] price: // [0.0, 1.0] minprice: // [0.0, 1.0] maxprice: // [0.0, 1.0] accessibility: // [0.0, 1.0] minaccessibility: // [0.0, 1.0] maxaccessibility: // [0.0, 1.0] bored;
find
Find a specific activity by its key
let bored = ; bored;
Examples
See test.js for examples