2017 © Pedro Peláez
 

library janrain-api

Janrain API client

image

gedex/janrain-api

Janrain API client

  • Monday, November 28, 2016
  • by gedex
  • Repository
  • 1 Watchers
  • 3 Stars
  • 544 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

PHP Janrain API

Build Status Coverage Status, (*1)

A simple Object Oriented wrapper for Janrain API, written with PHP5., (*2)

Usage

Find Entity

require_once 'vendor/autoload.php';

$client = new Janrain\Client();
$client->setOption('base_url',      'https://example.janraincapture.com');
$client->setOption('client_id',     'xxx');
$client->setOption('client_secret', 'xxx');

$entities = $client->api('entity')->find(array(
    'type_name'  => 'user',
    'filter'     => 'emailVerified is not null',
    'attributes' => array('uuid', 'displayName', 'email'),
));

Add Entity

$result = $client->api('entity')->create(array(
    'type_name'  => 'user',
    'attributes' => array(
        'firstName' => 'Akeda',
        'lastName'  => 'Bagus',
    ),
));

See examples for complete references., (*3)

TODO

  • Complete unit tests coverage
  • More examples

Credits

License

MIT License - see LICENSE file., (*4)

The Versions

28/11 2016

dev-master

9999999-dev https://github.com/gedex/php-janrain-api

Janrain API client

  Sources   Download

MIT

The Requires

 

The Development Requires

api client capture janrain engage

03/02 2014

0.1.0

0.1.0.0 https://github.com/gedex/php-janrain-api

Janrain API client

  Sources   Download

MIT

The Requires

 

The Development Requires

api client capture janrain engage