Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple ruby client interface to the Mixpanel (Web Analytics) API
Ruby
branch: master

This branch is 5 commits ahead, 194 commits behind keolo:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
features
lib
spec
.document
.gitignore
LICENSE
README.md
Rakefile
VERSION
mixpanel_client.gemspec

README.md

Ruby Mixpanel API Client

Ruby access to the Mixpanel web analytics tool.

Installation

gem install mixpanel_client

Example Usage

require 'rubygems'
require 'json'
require 'mixpanel_client'

config = {:api_key => 'changeme', :api_secret => 'changeme'}

api = Mixpanel::Client.new(config)

data = api.request(:events, :general, {
  :event    => '["test-event"]',
  :unit     => 'hour',
  :interval =>  24
})

puts data.inspect

Copyright

Copyright (c) 2009+ Keolo Keagy. See LICENSE for details.

Something went wrong with that request. Please try again.