0.01
No commit activity in last 3 years
No release in over 3 years
API to interact with Localytics https://localytics.com/
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.2
= 1.1

Runtime

 Project Readme

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