kar
f74790a9ee
Add support for bundled apks
...
They will be available under 'splits' key in result.
2020-01-10 09:14:04 +01:00
Park Junghwan
5cdcfefb65
Fix libs.googleplay.LoginError: 'server says: UNKNOWN_ERR'
2019-11-21 14:53:48 +09:00
Domenico Iezzi
e5e60b8356
generate protobuf python file using setuptools
2019-04-09 14:34:24 +02:00
Sebastian Weisgerber
5f42319971
Changed generic Except. in ...GooglePlayAPI
to LoginError
2019-01-23 08:58:59 +01:00
Domenico Iezzi
c119d1ce5b
Improve list() documentation and test case
2019-01-22 23:09:13 +01:00
Domenico Iezzi
af10ec6494
Enforce same style for every function name
2019-01-22 22:35:32 +01:00
Domenico Iezzi
e1d2671caf
Removed nb_results and offset from search()
2018-12-23 23:37:07 +01:00
Domenico Iezzi
129d45f19b
Return complete messages for some APIs
2018-12-23 22:36:55 +01:00
Domenico Iezzi
6c8d295369
Use MessageToDict for pb parsing
2018-12-23 22:36:04 +01:00
Domenico Iezzi
46b427124d
Updated Protobuf definition and parsing
...
Newer definition have been fetched from play-store-api. Moreover, the
following enhanchements are introduced:
- An new function utils.parseProtobufObj will automatically parse any
Protobuf object into a dictionary, so there's no need to manually
specify each field to parse
- Added toc() and acceptTos() functions
- Added deviceCheckinConsistencyToken and dfeCookie to API state and
headers
- Since search results are now divided into clusters, each one
representing a different subcategory, now the search() API call returns
a list of clusters, each one containing a list of apps
2018-12-12 17:23:07 +01:00
Domenico Iezzi
86e069b541
Restore security error message
2018-11-17 10:53:14 +01:00
Domenico Iezzi
a83c2abfbf
Introduced new exceptions
2018-07-15 17:09:31 +02:00
Domenico Iezzi
e84a0d7db2
changed crypto library with pyca/cryptography
...
https://github.com/pyca/cryptography
2018-07-15 16:36:37 +02:00
Domenico Iezzi
13bc63b927
Added script to fetch devices from play-store-api
2018-07-15 13:15:00 +02:00
Domenico Iezzi
99ae4cba0e
moved tests into a separate folder
2018-07-15 12:23:38 +02:00
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
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
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
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
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
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
f7d2077d78
Added proxy config to userProfile request
2017-12-09 11:50:20 +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
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
Artem Smirnov
d422074ea8
Added proxy config for requests
2017-12-07 05:02:59 +03:00
Domenico Iezzi
0fc9cb9fef
Removed debug feature
2017-11-15 15:48:55 +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
c61819d00b
Fix #22
...
Now gpapi checks if the locale retrieved from system or provided by the
user is valid. In case it's invalid, default to en_US.
2017-11-13 11:44:15 +01:00