dosomething / mobilecommons-php
A PHP wrapper for the Mobile Commons API
1.0.2
2014-05-23 14:22 UTC
Requires
- php: >= 5.3.0
- ext-curl: *
- ext-simplexml: *
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-11-19 07:35:27 UTC
README
Mobile Commons API Client for PHP by DoSomething.org
A PHP wrapper for the Mobile Commons REST and mData API.
http://www.mobilecommons.com/mobile-commons-api/
Requirements
- PHP 5 (Tested against 5.3)
- cURL extension
- SimpleXML extension
Installation
Via Composer:
Available on Packagist as the dosomething/mobilecommons-php package
Usage
$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
License
This library is released under the MIT License