googleplay_dev_scraper 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c83d79dd4b1897f875a9dfc0f257267459445a3d
4
- data.tar.gz: 0a42a90f4e1c37ae2cec61c710050c9e70dbe204
3
+ metadata.gz: decc4a4b4289f1672d8962dc0bc174b79605c4da
4
+ data.tar.gz: 3b54396450e1c9b4f0027ae726be71eedd9a8c47
5
5
  SHA512:
6
- metadata.gz: d7fb9021a6e7ef5bf9255fac3c6788e2a8cf28418478fc71e467cc606593aaddfd2934ac95010eef3fa932494ab57fe422e902bd236c605f40770466cb54d712
7
- data.tar.gz: 197fe4ffe1096153f6b9bace15f3ca7524530756dcca5b859730f7442d826329651be44ea2e9077cfae48bab8e0f38f7e1e10f4770d04528937e7c873eaf663b
6
+ metadata.gz: 6b9ecf9fbe010d02ca517b9ac1678cad9c00ba14b925506411d2b12850a94201d64ea1094e17731181e203a85bbc2d888b498093757a2c7c68d1c6203e425af2
7
+ data.tar.gz: 379176201abb88a90897cc1c6e926fa84c93c5eb9b21931d396e5b3a74ffe245965c5cfde3c064ae705dd3ea970bcb3704170fb6424e505daf0dd7d20f0c3aef
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2013/8/27 : Takuya Murakami
2
+
3
+ * ver 1.0.3
4
+ * fix estimated report URL
5
+
1
6
  2013/8/7 : Takuya Murakami
2
7
 
3
8
  * ver 1.0.2
data/README.ja.md CHANGED
@@ -89,7 +89,9 @@ dev_acc: "12345678901234567890"
89
89
 
90
90
  また推定売上レポートもダウンロードできます。
91
91
 
92
- $ googleplay_dev_scraper estimated 2011 10
92
+ $ googleplay_dev_scraper estimated 2011 10 > report.zip
93
+
94
+ 注意: 推定売上レポートは ZIP ファイルとなっています。
93
95
 
94
96
 
95
97
  オーダー一覧取得
data/README.md CHANGED
@@ -77,7 +77,9 @@ To download sales report for October 2011:
77
77
 
78
78
  Or you can download estimated report too:
79
79
 
80
- $ googleplay_dev_scraper estimated 2011 10
80
+ $ googleplay_dev_scraper estimated 2011 10 > report.zip
81
+
82
+ Note: Estimated report is compressed in zip file.
81
83
 
82
84
  Get order report
83
85
  ----------------
@@ -51,7 +51,8 @@ module GooglePlayDevScraper
51
51
  #
52
52
  def get_estimated_sales_report(year, month)
53
53
  #https://play.google.com/apps/publish/v2/salesreport/download?report_date=2013_03&report_type=sales_report&dev_acc=09924472108471074593
54
- url = sprintf('https://play.google.com/apps/publish/v2/salesreport/download?report_date=%04d_%02d&report_type=sales_report&dev_acc=%s', year, month, @config.dev_acc)
54
+ #url = sprintf('https://play.google.com/apps/publish/v2/salesreport/download?report_date=%04d_%02d&report_type=sales_report&dev_acc=%s', year, month, @config.dev_acc)
55
+ url = sprintf('https://storage.cloud.google.com/pubsite_prod_rev_%s/sales/salesreport_%04d%02d.zip', @config.dev_acc, year, month)
55
56
  try_get(url)
56
57
 
57
58
  body_string
@@ -1,3 +1,3 @@
1
1
  module GooglePlayDevScraper
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googleplay_dev_scraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takuya Murakami
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-07 00:00:00.000000000 Z
11
+ date: 2013-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize