A PHP wrapper for the Mobile Commons REST and mData API.
http://www.mobilecommons.com/mobile-commons-api/
- PHP 5 (Tested against 5.3)
- cURL extension
- SimpleXML extension
Via Composer:
Available on Packagist as the dosomething/mobilecommons-php package
$config = array(
'username' => USERNAME, // Mobile commons username
'password' => PW // Mobilecommons password
);
$MobileCommons = new MobileCommons($config);
$campaigns = $MobileCommons->campaigns();
print_r($campaigns); // Print list of campaigns
This library is released under the MIT License