0.0.55 • Published 12 months ago

blackers-api-sdk v0.0.55

Weekly downloads
155
License
-
Repository
github
Last release
12 months ago

Blackerz-SDK travis-ci

A developer kit for interact with our API.

Added type definition and more edit data.

Example node Post Bot Description

const blackerz = require("blackers-api-sdk")

// Getting bot data without authorize
blackerz.botData("777756503028400138").then(console.log)

// Sync with your bot, require auth
blackerz.Authorize("V1auth");
const scannerBOT = new blackerz.bot("bot id", {baseURL: "https://blackerz.herokuapp.com"}) // baseURL optional  

scannerBOT.edit({
    shortDescription: "this is short description",
    longDescription: "this is looooong description"
}).then(result => {
    console.log(`${JSON.stringify(result)}, sucess edited`)
}).catch(console.error)

scannerBOT.botData().then(console.log).catch(console.error)

//Check user vote
scannerBOT.checkVote("775363892167573535").then(console.log).catch(console.error) // true / false  

API

blackerz.botData(BOT_ID)
return bot data without authorization

blackerz.Authorize(V1_AUTH, DeveloperID?)
authorize your access, can be used to construct bot class

new blackerz.bot(BOT_ID)
return object class to to something with bot

Website

Get your V1 auth by login to our website then visit your profile, here the link
https://blackerz.herokuapp.com/

0.0.55

12 months ago

0.0.525

3 years ago

0.0.52

3 years ago

0.0.5

3 years ago

0.0.49

3 years ago

0.0.48

3 years ago

0.0.47

3 years ago

0.0.45

3 years ago

0.0.41

3 years ago

0.0.43

3 years ago

0.0.44

3 years ago

0.0.4

3 years ago

0.0.35

3 years ago

0.0.3

3 years ago

0.0.28

3 years ago

0.0.2

3 years ago

0.0.25

3 years ago

0.0.18

3 years ago

0.0.15

3 years ago

0.0.1

3 years ago