Commit 86f26e54 by camoo Committed by GitHub

Update README.md

parent 5b82cec2
......@@ -12,3 +12,25 @@ This library needs minimum requirement for doing well on run.
- [Sign up](https://www.camoo.cm/join) for a free CAMOO account
- Ask CAMOO Team for new access_key for developers
- CAMOO TOPUP API client for PHP requires version 5.5.x and above
Quick Examples
1) Sending a Airtime
```php
require_once('src/autoload.php');
$oAirtime = new \CAMOO\Airtime\Airtime('592595095gh57', '4e32da5979879b89479847b9798479494984');
// receiver recipient
$oAirtime->destination_msisdn='237671234567';
// airtime from
$oAirtime->msisdn= '237661562859';
// airtime product
$oAirtime->topup=100;
// just to test
//$oAirtime->test_mode=true;
$oAirtime->send_sms=true;
// set developer custom message
$oAirtime->sms='YourCompany Best Topup Service'; // max length 30 chars
var_dump($oAirtime->send());
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment