Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 26 lines (18 sloc) 0.597 kB
#!/usr/bin/python
# Do not remove
GOOGLE_LOGIN = GOOGLE_PASSWORD = AUTH_TOKEN = None
from config import *
from pprint import pprint
from googleplay import GooglePlayAPI
from google.protobuf import text_format
import sys
import urlparse
if(len(sys.argv) < 2):
print "Usage: %s packagename"
print "Display permissions required to install an app."
sys.exit(0)
packagename = sys.argv[1]
api = GooglePlayAPI()
api.login(GOOGLE_LOGIN, GOOGLE_PASSWORD, AUTH_TOKEN)
response = api.details(packagename)
print "\n".join(i.encode('utf8') for i in response.docV2.details.appDetails.permission)
Jump to Line
Something went wrong with that request. Please try again.