<commit_before>PHP Janrain API
===============

A simple Object Oriented wrapper for [Janrain API](http://developers.janrain.com/documentation/api/), written with PHP5.

# Usage

## Find Entity

~~~php
require_once 'vendor/autoload.php';

$client = 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
~~~php
$result = $client->api('entity')->create(array(
	'type_name'  => 'user',
	'attributes' => array(
		'firstName' => 'Akeda',
		'lastName'  => 'Bagus',
	),
));
~~~

See [doc](doc/README.md) and [examples](examples/README.md) for complete references.

# TODO

* Api\Engage
* Api\Partner
* Unit tests
* doc
* examples
* Once unit tests are complete put add .travis.yml
* Send to packagist

# Credits

* Nicely architectured library [php-github-api](https://github.com/KnpLabs/php-github-api) by [KNPLabs](https://github.com/KnpLabs) where this library borrows the design.

# License

MIT License - see [LICENSE file](LICENSE).<commit_msg>Removed tackled todo and put Janrain API doc into credits section.<commit_after>PHP Janrain API
===============

A simple Object Oriented wrapper for [Janrain API](http://developers.janrain.com/documentation/api/), written with PHP5.

# Usage

## Find Entity

~~~php
require_once 'vendor/autoload.php';

$client = Janrain\Client();
$client->setOption('base_url',      'https://example.<EMAIL>');
$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
~~~php
$result = $client->api('entity')->create(array(
	'type_name'  => 'user',
	'attributes' => array(
		'firstName' => 'Akeda',
		'lastName'  => 'Bagus',
	),
));
~~~

See [doc](doc/README.md) and [examples](examples/README.md) for complete references.

# TODO

* Unit tests
* examples
* Once unit tests are complete put add .travis.yml
* Send to packagist

# Credits

* [Janrain API documentation](http://developers.janrain.com/documentation/api/)
* Nicely architectured library [php-github-api](https://github.com/KnpLabs/php-github-api) by [KNPLabs](https://github.com/KnpLabs) where this library borrows the design.

# License

MIT License - see [LICENSE file](LICENSE).
{'fraction_non_alphanumeric': 0.1903311762466692, 'fraction_numerical': 0.0007613247049866769, 'mean_word_length': 4.918918918918919, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 32, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7599108', 'n_tokens_mistral': 916, 'n_tokens_neox': 880, 'n_words': 205}