Skip to content

Ruby library that allows interaction with the Localytics API

License

Notifications You must be signed in to change notification settings

tobuy/localytics-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tobuy

Gem Version Build Status

Ruby wrapper for Localytics API

A lot of inspiration (and code) for how this gem was built come from https://github.com/Mango/mango-ruby

Description

API to interact with Localytics https://localytics.com/

Installation

As usual, you can install it using rubygems.

$ gem install localytics-ruby

Usage

require 'localytics-ruby'

Localytics.api_key = ENV['LOCALYTICS_API_KEY']
Localytics.api_secret = ENV['LOCALYTICS_API_SECRET']

customerId = 1

begin
  profile = Localytics::Profile.show 1
rescue Localytics::Error => e
  e.each {|code, message| ... }
end

About

Ruby library that allows interaction with the Localytics API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages