de-captcher

0.1.14 • Public • Published

de-captcher.com nodejs library

Build Status

http://de-captcher.com basically resolves captcha requests. You need an account for authentication so that you can use this library.

Quickstart

Require library, Create object with your username/password and call functions. Use node 0.10.15 Stable version.

var Decaptcher = require("de-captcher").decaptcher;
var decaptcher = new Decaptcher("username", "password");

// get your balance
decaptcher.getBalance(function(err, balance) {
  console.log(balance);
});

// send file system image
decaptcher.postPicture(path.join(__dirname, "captcha.jpg"), function(err, result) {
  console.log(result);
});

// send http address with mime type
decaptcher.postPicture("http://www.example.org/recaptcha.ashx", "image/jpeg", function(err, result) {
  console.log(result);
});

Install

npm install -d de-captcher

Functions

  • getBalance(callback) : Get your current balance status

  • postPicture(url/fs, mimeType, callback): send picture for process. mimeType parameter is not mandatory

  • reportBadResult(majorID, minorID, callback): send bad picture process report

  • getSystemLoad(callback): get de-captcher system load

  • setTimeouts(value): captcha resolve timeouts

  • setPictureProcess(value): captcha picture process type

  • setMultiPictureProcess(value): multiple picture process type

License

Copyright 2013 Erhan Gundogan

Licensed under the MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i de-captcher

Weekly Downloads

35

Version

0.1.14

License

MIT

Last publish

Collaborators

  • erhangundogan