0.0.8 • Published 2 years ago

2captcha-twitch v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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: 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

Sign up

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