dosomething / mobilecommons-php
Mobile Commons API的PHP包装器
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-09-24 06:51:48 UTC
README
DoSomething.org的PHP Mobile Commons API客户端
Mobile Commons REST和mData API的PHP包装器。
http://www.mobilecommons.com/mobile-commons-api/
需求
- PHP 5 (测试于 5.3)
- cURL扩展
- SimpleXML扩展
安装
通过Composer
作为dosomething/mobilecommons-php包在Packagist上可用
用法
$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
许可证
此库根据MIT许可证发布