Skip to content

About

Ruby library that allows interaction with the Localytics API

Topics

Resources

Stars

3 stars

Watchers

4 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

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

Stars

3 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages