Skip to content

Sweet Captcha is an anti spam security widget useful for protecting comments, contact and login forms from bots in a human friendly manner - Node.js SDK

License

Notifications You must be signed in to change notification settings

sweetcaptcha/sweetCaptcha-sdk-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sweetCaptcha Javascript SDK

What's this?

sweetCaptcha is a free captcha service putting the users and your website at first priority. This is a new and fresh graphical captcha focused on enhanced user experience, so instead of using difficult and boring text, SweetCaptcha offers a

SweetCaptcha

See a live demo here

Installation

  1. Sign up your website at http://sweetcaptcha.com and get your credentials
  2. NPM install the SDK using npm install --save sweetcaptcha
  3. Init and include the SDK in your code var sweetcaptcha = new require('sweetcaptcha')(app_id, app_key, app_secret)
  4. Follow the example and enjoy your sweetCaptcha

Public methods

  1. sweetcaptcha.api('get_html', function(err, html){ ... })
  2. sweetcaptcha.api('check', {sckey: formSckey, scvalue: formScvalue}, function(err, response) { return callback(err, (!err && response==='true')) })
  3. sweetcaptcha.api('test', function(err, response) { ... })

Test

make test

Support and Contact

Visit our website for more information

Updated June 26, 2015

About

Sweet Captcha is an anti spam security widget useful for protecting comments, contact and login forms from bots in a human friendly manner - Node.js SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published