Use www.checkwa.com externally with API
PHP
Latest commit 7aef3d1 Dec 9, 2015 @checkwa Update README.md
Permalink
Failed to load latest commit information.
cw-class Create emoji.php Dec 7, 2015
examples/website Update index.php Dec 7, 2015
README.md Update README.md Dec 9, 2015
index.php Update index.php Dec 7, 2015

README.md

API-CheckWa

API CheckWA

www.checkwa.com

api@checkwa.com

Use example with GET: index.php?prefix=34&number=680563629

Example user: "yourusername"

Example password: "yourpassword"

How to use:

include("cw-class/class.cw.php"); // include api class 

include("cw-class/emoji.php"); // include emoji converter 

$_cw = new CW(); // call class 

$cw = json_decode($_cw->Get($user,$password,$prefix,$number),true); // get info

// Do stuff with result

$cw['response'] // See guide of response codes 

$cw['result'] // If response is 1, result contains Y or N (Y = use WhatsApp | N = don't use WhatsApp 

$cw['prefix'] // Prefix :D 

$cw['number'] // Number without Prefix 

$cw['last'] // Last seen

$cw['status'] // Status 

$cw['image'] // Profile image

$cw['image_pre'] // Profile image template if can't extract image 

$cw['error'] // Message error if response isn't 1 

$cw['timeout'] // Time to next check if response = 5

$_cw->Close(); /* Close

Response codes

1 = Response OK. (result = Y or N)

2 = Invalid usarname or password

3 = Invalid number

4 = Invalid prefix

5 = Wait at least 15 secs (see tiemout)

6 = Demo limit exceded, max check with demo account: 15

Subscription prices

SILVER:  1 check each 30 seconds // 1000 checks each 24h

30 Days: 49,00€
90 Days: 119,00€

GOLD: 1 check each 15 seconds // 2000 checks each 24h

30 Days : 149,00€ 
90 Days : 349,00€

DIAMOND: 1 check each 15 seconds // 5000 checks each 24h

30 Days : 249,00€ 
90 Days : 449,00€ 

Example of income in checkwa.com with Ads.

By month: 
9000≈ Checks
25.000≈ Visits
Earnings: 150,00€