dosomething/mobilecommons-php

A PHP wrapper for the Mobile Commons API

Installs: 63

Dependents: 0

Stars: 2

Watchers: 6

Forks: 2

Language: PHP

1.0.2 2014-05-23 14:22 UTC

README

Build Status

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