Licence
MIT
Version
0.0.8
Deps
4
Size
16 kB
Vulns
0
Weekly
0
2captcha Twitch
Log in and Sign up on Twitch using 2captcha API
Usage
Install
npm i 2captcha-twitch
Log in
const twitch = require('2captcha-twitch')
// Log In
twitch.login(
email,
username,
password,
apiKey,
debug
)
// Auth-token cookie value
.then((res) => console.log(res))
email:stringtwitch user e-mailusername:stringtwitch usernamepassword:stringtwitch passwordapikey:stringis your 2captcha API keydebug:(Optional) booldebug mode
Sign up
const twitch = require('2captcha-twitch')
// Sign Up
twitch.signup(
apiKey,
debug
)
// Returns {email, username, password}
.then(res => console.log(res))
apikey:stringis your 2captcha API keydebug:(Optional) booldebug mode
