two-captcha

    1.1.2 • Public • Published

    Two-Captcha Wrapper

    2Captcha JavaScript Wrapper

    NPM version TRAVIS version

    Prerequisites:

    You will need a 2Captcha API key

    Installation:

    npm i two-captcha

    Usage:

    Set up your api key:

     
    const TwoCaptcha = require('two-captcha')
    const Captcha = new TwoCaptcha('your-api-key')
     

    Get the ID of your task:

    let id = Captcha.getId('method', 'googleKey', 'pageUrl')

    Start a cycle that checks if your task is completed and get result:

    let solve = Captcha.solve(id)

    Install

    npm i two-captcha

    DownloadsWeekly Downloads

    32

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    4.44 kB

    Total Files

    6

    Last publish

    Collaborators

    • uigormarshall