solvemedia-nodejs
An independent node.js module that handles calling Solve Media captchas. This module is not related to Solve Media Company and it is just a help to people who want to use Solve Media products in node.js solutions.
How to use
(see http://github.com/tomasalmeida/solvemedia-nodejs/tree/master/examples)
Display the captcha
var Solvemedia = ; //Create a new instance of solvemedia, setting your three keys var sm = 'Challenge Key''Verification Key''Authentication Hash Key'; // First: display the captcha var html = sm; // Display a form
Customizations
SolveMedia API offers some customization to your captcha (language and color)
var Solvemedia = ; //Create a new instance of solvemedia, setting your three keys var sm = 'Challenge Key''Verification Key''Authentication Hash Key'; // First: display the captcha var html0 = sm; // no customization var html1 = sm; // text in French and captcha in black var html2 = sm; // text in Portuguese (no color customized) var html3 = sm; // Captcha in RED (no text customized) // Display a form
The complete list of customization is:
<your instance>LANGEN<your instance>LANGDE<your instance>LANGFR<your instance>LANGES<your instance>LANGIT<your instance>LANGYI<your instance>LANGJA<your instance>LANGCA<your instance>LANGPL<your instance>LANGHU<your instance>LANGSV<your instance>LANGNO<your instance>LANGPT<your instance>LANGNL<your instance>LANGTR <your instance>THEMEBLACK<your instance>THEMEWHITE<your instance>THEMEPURPLE<your instance>THEMERED
Validate user response
var Solvemedia = ; //Create a new instance of solvemedia, setting your three keys var sm = 'Challenge Key''Verification Key''Authentication Hash Key'; //Second Step: validate a response sm;
License
Apache v2 License