Skip to content

PierrickGT/node-cheeze-wizards-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cheeze Wizards API Node Wrapper

Build Status npm version Coverage Status Latest Documentation dependencies Status devDependencies Status

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('your@email.com', '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);