Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.09 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.09 KB

AppAnnie

Build Status Gem Version

Simple Ruby wrapper for App Annie's analytics API

Installation

Add this line to your application's Gemfile:

gem 'app_annie', :git => '[email protected]:moneytree-doug/app_annie.git'

And then execute:

$ bundle install

Usage

First, set your AppAnnie API key. You can do this via the APPANNIE_API_KEY environment variable, or by setting AppAnnie.api_key

Example,

@rawResponse = AppAnnie::App.new({ 
	'account_id' => @account_id,
	'app_id' => @app_id 
}).sales({
	'break_down' => "dates",
	'start_date' => "2014-1-1",
	'end_date' => "2014-6-1"
})

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request