0.1.1 • Published 5 years ago

node-cheeze-wizards-api v0.1.1

Weekly downloads
6
License
ISC
Repository
github
Last release
5 years ago

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);