Trivia
A simple wrapper around the Mashape Trivia API
This package utilizes this API to provide access to tens of thousands of trivia questions. In order to use it, you must obtain an API key from mashape here.
Installation
$ npm install trivia --save
Usage
var trivia = YOUR_MASHAPE_KEY; //Get questions for a specific categorytrivia; //Page through all questions in the databasetrivia; //List all categoriestrivia; //Get a random question from the databasetrivia; //Total number of questions in the systemtrivia;
License
MIT (See LICENSE for more info)