2captcha implementation for twitch
npm install 2captcha-twitch
npm i 2captcha-twitch
`
$3
`js
const twitch = require('2captcha-twitch')
// Log In
twitch.login(
email,
username,
password,
apiKey,
debug
)
// Auth-token cookie value
.then((res) => console.log(res))
`
* email: string twitch user e-mail
* username: string twitch username
* password: string twitch password
* apikey: string is your 2captcha API key
* debug: (Optional) bool debug mode
$3
`js
const twitch = require('2captcha-twitch')
// Sign Up
twitch.signup(
apiKey,
debug
)
// Returns {email, username, password}
.then(res => console.log(res))
`
* apikey: string is your 2captcha API key
* debug: (Optional) bool` debug mode