Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ac-io

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ac-io

Module for anti-captcha easy management.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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
})

Keywords

FAQs

Package last updated on 23 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc