Simple Ruby wrapper for App Annie's analytics API
Add this line to your application's Gemfile:
gem 'app_annie', :git => '[email protected]:moneytree-doug/app_annie.git'
And then execute:
$ bundle install
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"
})
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request