diff --git a/gpapi/googleplay.py b/gpapi/googleplay.py index 57f23e1..60c6ca6 100644 --- a/gpapi/googleplay.py +++ b/gpapi/googleplay.py @@ -532,7 +532,8 @@ def delivery(self, packageName, versionCode=None, offerType=1, if versionCode is None: # pick up latest version - versionCode = self.details(packageName).get('versionCode') + appDetails = self.details(packageName).get('details').get('appDetails') + versionCode = appDetails.get('versionCode') params = {'ot': str(offerType), 'doc': packageName,