Project

anego

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby wrapper for the App Annie API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.11
~> 10.0

Runtime

 Project Readme

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