2.0.1 • Published 6 years ago
wazifers-api v2.0.1
WaZifers-API
An official API wrapper for WaZifers API.
Installing
npm i --save wazifers-api
Getting Started
const WaZifers = require("wazifers-api");
const waziclient = new WaZifers("YOUR_API_KEY_HERE");
waziclient.checkVote("userwhovoted", "userwhoreceived").then(u => cosnole.log(u)); // true or falseExample
const wazifers = require('wazifers-api');
const client = new wazifers("YOUR_API_KEY");
client.chatbot("hey how are you?").then(response => console.log(response));Functions
- chatbot
- fetchUser ALT: getUser
- leaderboard
- hasVoted ALT: checkVote
- ban
API Docs
Getting Token
- Join WaZifers Community Discord Server
