anego 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48dd37dbb48c8c1fa0e8089e9f578942b978eecc
4
- data.tar.gz: b7da7bf90b5e083147d74c824a2283e488a6e407
3
+ metadata.gz: a1bddfbfd9e09980f13cc3a605918352c2e2be1d
4
+ data.tar.gz: 523bf2a72abaea3505d2360379f24bae36940cf9
5
5
  SHA512:
6
- metadata.gz: 64df0246e0ebb84d431aad2c365758a84e531491afe3ba8558f48736a60eb7afd1a74c3e8b329dae96be0410518fcd6bf71e4b2d6407ca98d240ac818de54b7d
7
- data.tar.gz: b8ec79427f3e0f020c02714f6fb4bf24c7c07c6aff8958a4353084c72171eb21d614979ced3d7d260106d3ee79d791c7579ae41af13da5950f8f26b166c64329
6
+ metadata.gz: 8b2fd5ebbdb946754a81c62bfd5c7a718a7eef07659e1c11f74be9a4f7640923a6b51ea7832c7a166ee176d5880b0fcc855c2e6c03020b5200f7b3c58fbd34bb
7
+ data.tar.gz: e2835c9031aa3790f32bcb26ab0e8fe6004cb9f3ba014859f6ae9be6c6ba12d529f172585f0251e02a775fa0230266b646657eedc7a463d637c42a670a59568c
data/README.md CHANGED
@@ -37,9 +37,15 @@ response = client.products(account.account_id)
37
37
  products = response.body.products
38
38
  product = products.first
39
39
 
40
+ # Product Details API
41
+ response = client.product_details(product.market, product.product_id)
42
+
40
43
  # Product Ratings API
41
44
  response = client.product_ratings(product.market, product.product_id)
42
45
 
46
+ # Product Reviews API
47
+ response = client.product_reviews(product.market, product.product_id, "2016-01-01", "2016-04-01", "JP")
48
+
43
49
  ```
44
50
 
45
51
  ## ENV
@@ -14,6 +14,10 @@ module Anego
14
14
  request :get, "/accounts/#{account_id}/products"
15
15
  end
16
16
 
17
+ def product_details(market, product_id)
18
+ request :get, "/apps/#{market}/app/#{product_id}/details"
19
+ end
20
+
17
21
  def product_ratings(market, product_id)
18
22
  request :get, "/apps/#{market}/app/#{product_id}/ratings"
19
23
  end
@@ -1,3 +1,3 @@
1
1
  module Anego
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anego
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - fakestarbaby
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-18 00:00:00.000000000 Z
11
+ date: 2016-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client