Commit Graph

190 Commits

Author SHA1 Message Date
Domenico Iezzi
65c92c96f0
Merge pull request #91 from ppoffice/master
Fix protobuf generation and test file
2019-06-19 11:37:05 +02:00
ppoffice
96387b2407 Fix protobuf generation and test file
* It seems that new versions of protobuf compiler requires the input
  protobuf file name to have a prefix of the --proto_path, relative
  path does not work in this case
* Fix two null exceptions in test/test.py where docid does not present
  in the query result
2019-06-15 11:49:51 -04:00
Domenico Iezzi
0ca0f65f75
Merge pull request #87 from alirajabi/fix-device-properties
Fix to include device.properties on build
2019-05-23 10:30:53 +02:00
Ali Rajabi
d3d59c58cc Fix to include device.properties on build 2019-05-19 18:09:15 +04:30
Domenico Iezzi
e5e60b8356
generate protobuf python file using setuptools 2019-04-09 14:34:24 +02:00
Domenico Iezzi
26f675c5a6 Updated README.md 2019-01-23 14:42:09 +01:00
Domenico Iezzi
6ca31cc1d2 Removed documentation folder
It will be reorganized as a Wiki on GitHub
2019-01-23 14:42:09 +01:00
Domenico Iezzi
23b83ad81a
Merge pull request #77 from sweisgerber-dev/enhancement-specific-exception
Changed generic Except. in `...GooglePlayAPI` to LoginError
2019-01-23 14:39:26 +01: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
cd6d686eff
travis: remove arguments from cmd 2018-12-23 22:41:55 +01:00
Domenico Iezzi
3629b232fe
Test now fetches gsfId and token from env
This *should* fix travis build failing everytime
2018-12-23 22:38:41 +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
588b17eb7c
Prepare for v0.4.3 2018-09-08 18:26:58 +02: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
Domenico Iezzi
118b539cbc
Merge pull request #57 from kallix/FIX-api.search
FIX broken URL in api.search() that raises an exception when nb_result >20
2018-06-25 14:33:14 +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
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