Commit Graph

166 Commits

Author SHA1 Message Date
Kevin
b9d3ecdce1 FIX broken URL in api.search() that raises an exception when nb_results > 20 2018-06-23 00:16:04 +02:00
Domenico Iezzi
5324eaa51b
Moved some code in config.py 2018-06-09 10:49:43 +02:00
Domenico Iezzi
525c24fae0
Slighty more readable code + cleanup 2018-06-08 21:39:44 +02:00
Domenico Iezzi
9a9ba1434a
Added API to fetch search suggestions 2018-04-06 20:47:58 +02:00
Domenico Iezzi
2247d2386e Revert "updated device data for bacon"
This reverts commit 67ced7bdb67f437d9b2a2381ed3119d4f9f1237a.
2018-03-23 13:47:47 +01:00
Domenico Iezzi
05170a1e0a Added API to fetch home apps 2018-03-23 13:47:47 +01:00
Domenico Iezzi
78113555b5 updated device data for bacon 2018-03-23 13:47:47 +01:00
Domenico Iezzi
5ea4ab08c7 utils: parse apk permissions 2018-03-23 13:47:47 +01:00
Domenico Iezzi
d40ea3658c
wrong license in setup.py 2018-03-23 13:45:25 +01:00
Domenico Iezzi
eae2db749d
setup.py: ensure protobuf version is recent
This should avoid problems like issue #34
2018-03-13 22:04:51 +01:00
Domenico Iezzi
425a3f8334
Merge pull request #46 from android-police/feature/add-description-recentchanges-fields
Exposed descriptionHtml, recentChangesHtml, versionString and saleEnds in utils.py
2018-03-13 22:00:44 +01:00
SeBsZ
d966b33d09 Exposed descriptionHtml, recentChangesHtml, versionString and saleEnds in utils.py
Added saleEnds to protobuf definition for app offers.
2018-03-13 15:40:12 +01:00
Domenico Iezzi
6f5565bdef
Some improvements to code
- Remove unstable userProfile API
- Changed names for some variables
- Disabled print calls. Loggin is now entirely up to the user.
- Implemented device config token, retrieved after the `uploadDevice`
procedure
- Updated headers from play-store-api project
- Fixed initialization for obb_download_test.py
2018-02-03 14:30:21 +01:00
Domenico Iezzi
1185a13a40
Prepare for v0.4.2 2018-02-01 12:16:50 +01:00
Domenico Iezzi
3d1f4fe56d
Removed unstable userProfile from test 2018-02-01 12:15:32 +01:00
Domenico Iezzi
d984a92dc7
Added log function
This function is needed by the purchase API to insert app into user's
library. Without this, new apps won't be downloaded
2018-02-01 11:53:16 +01:00
Domenico Iezzi
15cf326184
Merge pull request #37 from matlink/patch-1
Prepare for v0.4.1
2018-01-31 18:49:36 +01:00
Matlink
8e725d5da5
Update setup.py 2018-01-31 16:29:36 +01:00
Domenico Iezzi
7f0fad78ef
Added functions to change locale
Locale and Timezone can be changed even during a session, and results
will change accordingly
2018-01-27 19:42:36 +01:00
Domenico Iezzi
2e4166f4e5
locale and timezone should be mandatory arguments 2018-01-27 19:15:45 +01:00
Domenico Iezzi
454db356b0
Prepare for v0.4 2018-01-27 18:59:17 +01:00
Domenico Iezzi
0a13755ff9
_delivery_data returns more information 2018-01-27 18:39:40 +01:00
Domenico Iezzi
e05d126f6b
Updated device info for shamu, sailfish, op3, op3t 2018-01-26 21:05:31 +01:00
Domenico Iezzi
3d0d399434
Updated device info for mako, kenzo, fp2 2018-01-26 20:58:49 +01:00
Domenico Iezzi
a07640b90e
Updated parameters with more up-to-date values 2018-01-26 20:15:54 +01:00
Domenico Iezzi
c4ba7f80b3
Added auth headers
c21ac5eaf5
2018-01-26 19:46:23 +01:00
Domenico Iezzi
23937e6cb8
Improved file delivery + minor changes
* Updated user agent string with data taken from play-store-api
* *download* and *delivery* functions will now return a python generator
rather than raw bytes, to prevent app loading entire files in memory.
This generator can be iterated to get chunk of bytes to write, as
discussed in issue #35.
* as a consequence of the previous point, there is no more progress bar
feature for downloading. It should be implemented by developers using
the API.
2018-01-26 18:24:19 +01:00
Domenico Iezzi
e1c73c8af0
Updated device info for bullhead and hammerhead 2018-01-25 12:11:54 +01:00
Domenico Iezzi
291a5e9d93
Removed python2 test
Since python2 test fails 3 times over 4, because of bad
encoding/decoding, now testing is disabled. Users are encouraged to
switch to python3
2018-01-25 11:47:02 +01:00
Domenico Iezzi
149707caab
Updated test.py with timezone 2018-01-25 11:41:07 +01:00
Domenico Iezzi
24a3e1a09b
Changed Locale and TimeZone initialization
Before, if locale wasn't specified as a parameter, it was picked from
the system running gpapi. Similar thing happened for timezone, but its
value was hardcoded in config.py.
To avoid problems related to missing or unavailable apps, this commit
enforces users to provide a locale and a timezone value. Without them,
gpapi can't be initialized.
2018-01-25 11:36:25 +01:00
Domenico Iezzi
d7a322dd82
Updated device info for angler and bacon 2018-01-25 11:20:54 +01:00
Domenico Iezzi
5013dbe5ab
Update setup.py to version 0.3.2 2017-12-11 19:30:30 +01:00
Domenico Iezzi
f7d2077d78
Added proxy config to userProfile request 2017-12-09 11:50:20 +01:00
Domenico Iezzi
df4300c7df
Added userProfile case to test.py 2017-12-09 11:39:10 +01:00
Domenico Iezzi
a4dbf80a73
Updated pbuf definitions with protobuf 3.5.0 2017-12-09 11:37:38 +01:00
Domenico Iezzi
1e567277f5 Initial userProfile implementation 2017-12-09 11:36:56 +01:00
Domenico Iezzi
e9e866da97
Try to avoid python2 travis build error 2017-12-09 11:01:03 +01:00
Domenico Iezzi
8dc2eb58c7
Improvements to helper functions 2017-12-09 10:58:00 +01:00
Domenico Iezzi
55499a015e
Helper functions for response parsing 2017-12-09 10:06:34 +01:00
Domenico Iezzi
6a6c0b01d0
Init proxies_config with given value in __init__ 2017-12-09 09:59:42 +01:00
Domenico Iezzi
2f24058086
Fixed commit d422074 re-formatting issue 2017-12-09 09:55:11 +01:00
Domenico Iezzi
b99ceb8410 Revert "Added proxy config for requests"
This reverts commit d422074ea8.
2017-12-09 09:41:07 +01:00
Domenico Iezzi
6e8a02527b
Merge pull request #26 from RankoR/master
Added proxy config for requests
2017-12-08 12:54:07 +01:00
Artem Smirnov
d422074ea8 Added proxy config for requests 2017-12-07 05:02:59 +03:00
Domenico Iezzi
c7a3f8fc2d
Added userProfile api to Documentation 2017-11-27 16:46:05 +01:00
Domenico Iezzi
0fc9cb9fef
Removed debug feature 2017-11-15 15:48:55 +01:00
Domenico Iezzi
f7163f5615
Prepare for v0.3.1 2017-11-14 11:55:15 +01:00
Domenico Iezzi
12109621a6
Tightened locale checks
Consider the case when locale is manually initalized with a non-string
value, and the case when python's getdefaultlocale() returns None
2017-11-14 11:22:19 +01:00
Domenico Iezzi
1cece7d3ff
Prepare for v0.3 2017-11-13 11:50:51 +01:00