The WordAi API is designed to be extremely simple and easy to understand. All you have to do is make an HTTP request with POST variables. Our example below is a PHP example that uses cURL (which can usually be copied/pasted into a PHP script and will work out of the box), but you can use whatever programming language you want. Sample code in other languages is coming soon!
if(isset($email) && isset($pass))
$ch = curl_init('http://wordai.com/users/account-api.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, "email=$email&pass=$pass");
$result = curl_exec($ch);
return 'Error: Not All Variables Set!';