twitcher.js
v0.0.2
Published
TWİTCH APİ MODULE
Downloads
10
Maintainers
Readme
Twitcher.js API MODULE
INSTAL
npm install [email protected]
CLASS
const Twitch = require("twitcher.js")
const tapi = new Twitch({
"Secret":"<Client-Secret>",
"İD":"<Client-İD>"
})
FUNCTİONS - GET
let user = await tapi.getUser("<login_name") //NO ERROR, TESTİNGED
console.log(user)
let stream = await tapi.getStream("<login_name>") //NO ERROR, TESTİNGED
console.log(stream)
let token = await tapi.getToken() //NO ERROR, TESTİNGED
console.log(token)
let clips = await tapi.getClips("<clip_id/user_id>") //NO ERROR, TESTİNGED
console.log(clips)
await twitch.get("users",{"login":"<login_name>","method":"GET"},(e) => {
console.log(e)
})
FUNCTİONS - SET / POST
let token = await tapi.setToken() // create token but Functions can give ERROR
console.log(token)
//SOON MORE FUNCTİONS..
Contact information
E-mail: [email protected]
Discord: ErenHizm#6788
DiscordServer: https://discord.gg/D4WfYZCkEp
[email protected] =+ Twitch Stream Notficationer
...