Skip to content

eperezcosano/2captcha-twitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Buy Me A Coffee