2017 © Pedro Peláez
 

library userappio

A library to work with the UserApp.io API

image

psecio/userappio

A library to work with the UserApp.io API

  • Wednesday, March 19, 2014
  • by enygma
  • Repository
  • 1 Watchers
  • 1 Stars
  • 93 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

API Interface for UserApp.io

Usage:, (*1)

This is an example of its usage with a Guzzle client instance:, (*2)

require_once 'vendor/autoload.php';
use Guzzle\Http\Client;

$client = new Client();

$appId = '<your app ID>';
$apiToken = '<your API token>';

$service = new \Psecio\Userappio\Service($appId, $apiToken, $client);

// User login
$result = $service->user->login('darthsidious', 'test1234');
print_r($result);

// User save
$result = $service->user->save(array(
    'user_id' => $result->user_id,
    'login' => 'darthsidious',
    'first_name' => 'Test'
));

// User logoff
$result = $service->user->logout();

// Set logging
$service->setLogger(new Logger())

The Versions

19/03 2014

dev-master

9999999-dev https://github.com/psecio/userappio.git

A library to work with the UserApp.io API

  Sources   Download

MIT

The Requires

  • php >=5.3.1

 

api library userappio