Giter VIP home page Giter VIP logo

ac-io's Introduction

ac-io

###Russian Модуль для удобного управления anti-captcha.com

npm зависимости

  • bluebird
  • request-promise

Использование

Инициализация

'use strict';

var ac = new (require('ac-io'));

Конфигурация

ac.setting({
  key: 'Ключ anti-captcha, 32 символа',
  dir: 'Своя директория для скачивания капчи, можно не ставить',
  url: 'http://anti-captcha.com' // Если использовать другой сервис
});

Загрузка капчи по ссылке

ac.url('https://api.vk.com/captcha.php?sid=123456')
.then((captcha) => {
  // captcha.id - Id капчи
  // captcha.code - Код с капчи
})

Загрузка капчи в base64

ac.base64('...')
.then((captcha) => {
  // captcha.id - Id капчи
  // captcha.code - Код с капчи
})

Пожаловаться на капчу

ac.report(id)
.then(() => {
  // Жалоба отправлена
})

Получить баланс пользователя

ac.balance()
.then((balance) => {
  // Ваш баланс
})

###English Module for easy management anti-captcha.com

npm depending

  • bluebird
  • request-promise

Using

Initialization

'use strict';

var ac = new (require('ac-io'));

Configuration

ac.setting({
  key: 'Key anti-captcha, 32 characters',
  dir: 'Its directory for downloads captcha, you can not put',
  url: 'http://anti-captcha.com' // If you use another service
});

Loading captcha here.

ac.url('https://api.vk.com/captcha.php?sid=123456')
.then((captcha) => {
  // captcha.id - Id captcha
  // captcha.code - Code with captcha
})

Loading captcha to base64

ac.base64('...')
.then((captcha) => {
  // captcha.id - Id captcha
  // captcha.code - Code with captcha
})

Report captcha

ac.report(id)
.then(() => {
  // Complaint submitted
})

Get the user's balance

ac.balance()
.then((balance) => {
  // Your balance
})

ac-io's People

Contributors

negezor avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.