<commit_before># identity-api-client

[![Build Status](https://travis-ci.org/controlshift/identity-api-client.svg?branch=master)](https://travis-ci.org/controlshift/identity-api-client)

API Client for 38 Degree's Identity API<commit_msg>add example to README.<commit_after># identity-api-client

[![Build Status](https://travis-ci.org/controlshift/identity-api-client.svg?branch=master)](https://travis-ci.org/controlshift/identity-api-client)

API Client for 38 Degree's Identity API

## Usage

```ruby
identity = IdentityApiClient.new(host: 'id.test.com', api_token: '<PASSWORD>')
person = identity.member.details('abc123')
person.first_name 
=> 'Jane'
person.last_name
=> 'Smith'
```
{'fraction_non_alphanumeric': 0.16739446870451238, 'fraction_numerical': 0.010189228529839884, 'mean_word_length': 6.166666666666667, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 4, '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': '3033548', 'n_tokens_mistral': 241, 'n_tokens_neox': 226, 'n_words': 37}