0.0.8 • Published 4 years ago
2captcha-twitch v0.0.8
2captcha Twitch
Log in and Sign up on Twitch using 2captcha API
Usage
Install
npm i 2captcha-twitchLog 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