node-cheeze-wizards-api
v0.1.1
Published
Cheeze Wizards API Node Wrapper
Downloads
8
Readme
Cheeze Wizards API Node Wrapper
Node Wrapper for the Alchemy Cheeze Wizards API: https://docs.alchemyapi.io/docs/cheeze-wizards-api
You'll need a valid API key and a verified email address. To get your key, just sign up on the Cheeze Wizards developer page: https://www.cheezewizards.com/cheezyverse
Installation
npm install --save node-cheeze-wizards-api
Usage
// Import the desired module
const { CheezeWizardsAPI } = require('node-cheeze-wizards-api');
// Create an instance
const cheezeWizardsAPI = new CheezeWizardsAPI('[email protected]', 'your-api-token');
// Get stuff done
cheezeWizardsAPI
.wizard(1)
.then(response => {
console.log(response.data);
console.log(response.status);
})
.catch(error => {
console.log(error);
});
Methods
Duel
duel();
duel(duelId);
Duels
duels();
duels(params);
Wizard
wizard();
wizard(wizardId);
Wizards
wizards();
wizards(params);