Skip to content
This repository was archived by the owner on Jun 28, 2021. It is now read-only.

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lexer Identities Official Ruby Client Library

Build Status Code Climate Gem Version

Lexer Identity Gem is the official Ruby Client for the Lexer Identity API. The Lexer Identity API lets brands contribute and consume from Lexer's Identity database directly from their apps.

Installation

Add to your Gemfile:

gem 'lexer-identity'

or install from Rubygems:

gem install lexer-identity

And include it in your project as:

require 'lexer'

Use

# Configure using the provided tokens
Lexer::Identity.configure do |config|
  config.api_token = "..."
  config.contributor_token = "..."
  config.consumer_token = "..."
end

# Communicate via the enrich method
Lexer::Identity.enrich( links: { email: "test@lexer.io", twitter: "camplexer" }, attributes: { "io.lexer.name": { value: "Jane Smith", confidence: Lexer::Identity::CONFIDENCE_PROVIDED, ... } )

Further Reading

See the full documentation at http://developer.lexer.io.

About

Lexer Identity API Client

Resources

Stars

1 star

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages