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 +4 -4
- data/ChangeLog +5 -0
- data/README.ja.md +3 -1
- data/README.md +3 -1
- data/lib/googleplay_dev_scraper/scraper.rb +2 -1
- data/lib/googleplay_dev_scraper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: decc4a4b4289f1672d8962dc0bc174b79605c4da
|
4
|
+
data.tar.gz: 3b54396450e1c9b4f0027ae726be71eedd9a8c47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b9ecf9fbe010d02ca517b9ac1678cad9c00ba14b925506411d2b12850a94201d64ea1094e17731181e203a85bbc2d888b498093757a2c7c68d1c6203e425af2
|
7
|
+
data.tar.gz: 379176201abb88a90897cc1c6e926fa84c93c5eb9b21931d396e5b3a74ffe245965c5cfde3c064ae705dd3ea970bcb3704170fb6424e505daf0dd7d20f0c3aef
|
data/ChangeLog
CHANGED
data/README.ja.md
CHANGED
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
|
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.
|
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-
|
11
|
+
date: 2013-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mechanize
|