mirror of
https://github.com/FliegendeWurst/googleplay-api.git
synced 2024-11-22 12:54:58 +00:00
Added static method for getDeviceReadableNames
Signed-off-by: Domenico Iezzi <domenico.iezzi.201@gmail.com>
This commit is contained in:
parent
2a5be42203
commit
11de82f91a
@ -36,8 +36,7 @@ def getDevicesCodenames():
|
|||||||
|
|
||||||
|
|
||||||
def getDevicesReadableNames():
|
def getDevicesReadableNames():
|
||||||
"""Returns a list of tuples (codename, userReadableName)
|
"""Returns codename and readable name for each device"""
|
||||||
for each device"""
|
|
||||||
sections = getDevicesCodenames()
|
sections = getDevicesCodenames()
|
||||||
output = []
|
output = []
|
||||||
for s in sections:
|
for s in sections:
|
||||||
|
@ -498,3 +498,7 @@ class GooglePlayAPI(object):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def getDevicesCodenames():
|
def getDevicesCodenames():
|
||||||
return config.getDevicesCodenames()
|
return config.getDevicesCodenames()
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def getDevicesReadableNames():
|
||||||
|
return config.getDevicesReadableNames()
|
||||||
|
Loading…
Reference in New Issue
Block a user