Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1017 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 1017 Bytes

Mobile Commons SDK

a simple php SDK for the Mobile Commons API

Right now this has just been built for the purpose of allowing the Webform External module to push data to Mobile Commons's Profile Update endpoint.

It has one class, MobileCommons, which is instantiated with a username, password, and (optional) subdomain - defaults to https://secure.mcommons.com

Currently, there are only two methods:

MobileCommons->call

passed three parameters:

MobileCommons->profile_update

passed an array of parameters. parameter "phone_number" is required