mirror of
https://github.com/FliegendeWurst/googleplay-api.git
synced 2024-11-24 22:04:57 +00:00
utils: parse apk permissions
This commit is contained in:
parent
d40ea3658c
commit
5ea4ab08c7
@ -32,6 +32,7 @@ def fromDocToDictionary(app):
|
|||||||
"installationSize": app.details.appDetails.installationSize,
|
"installationSize": app.details.appDetails.installationSize,
|
||||||
"numDownloads": app.details.appDetails.numDownloads,
|
"numDownloads": app.details.appDetails.numDownloads,
|
||||||
"uploadDate": app.details.appDetails.uploadDate,
|
"uploadDate": app.details.appDetails.uploadDate,
|
||||||
|
"permission": [p for p in app.details.appDetails.permission],
|
||||||
"files": [{"fileType": f.fileType,
|
"files": [{"fileType": f.fileType,
|
||||||
"version": f.versionCode,
|
"version": f.versionCode,
|
||||||
"size": f.size}
|
"size": f.size}
|
||||||
@ -102,4 +103,4 @@ def hasDoc(obj):
|
|||||||
except TypeError:
|
except TypeError:
|
||||||
existance = False
|
existance = False
|
||||||
|
|
||||||
return existance
|
return existance
|
||||||
|
Loading…
Reference in New Issue
Block a user