Ruby wrapper for the App Annie API
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin Initial commit :) Jan 19, 2016
lib Bundle up to 0.0.8 Apr 27, 2016
.gitignore Initial commit :) Jan 19, 2016
Gemfile Initial commit :) Jan 19, 2016
LICENSE.txt Initial commit :) Jan 19, 2016
README.md Implement product details api Apr 19, 2016
Rakefile Initial commit :) Jan 19, 2016
anego.gemspec Initial commit :) Jan 19, 2016

README.md

Anego

Ruby wrapper for the App Annie API

Installation

Add this line to your application's Gemfile:

gem 'anego'

And then execute:

$ bundle

Or install it yourself as:

$ gem install anego

Usage

# Initialization
client = Anego::Client.new

# Accounts API
response = client.accounts
#=> GET /accounts

accounts = response.body.accounts
account = accounts.first

# Products API
response = client.products(account.account_id)

products = response.body.products
product = products.first

# Product Details API
response = client.product_details(product.market, product.product_id)

# Product Ratings API
response = client.product_ratings(product.market, product.product_id)

# Product Reviews API
response = client.product_reviews(product.market, product.product_id, "2016-01-01", "2016-04-01", "JP")

ENV

APP_ANNIE_API_KEY - App Annie API Key