Google Play Developer API . systemapks . variants

Instance Methods

create(packageName=*, versionCode=*, body=None)

Creates a new variant of APK which is suitable for inclusion in a system image.

download(packageName=*, versionCode=*, variantId=*)

Download a previously created APK which is suitable for inclusion in a system image.

download_media(packageName=*, versionCode=*, variantId=*)

Download a previously created APK which is suitable for inclusion in a system image.

get(packageName=*, versionCode=*, variantId=*)

Returns a previously created system APK variant.

list(packageName=*, versionCode=*)

Returns the list of previously created system APK variants.

Method Details

create(packageName=*, versionCode=*, body=None)
Creates a new variant of APK which is suitable for inclusion in a system image.

Args:
  packageName: string, Unique identifier for the Android app; for example, "com.spiffygame". (required)
  versionCode: string, The version code of the App Bundle. (required)
  body: object, The request body.
    The object takes the form of:

{
    "deviceSpec": {
      "screenDensity": 42,
      "supportedAbis": [
        "A String",
      ],
      "supportedLocales": [
        "A String",
      ],
    },
  }


Returns:
  An object of the form:

    { # Represents the variant of a generated system APK from an uploaded App Bundle.
    "deviceSpec": {
      "screenDensity": 42,
      "supportedAbis": [
        "A String",
      ],
      "supportedLocales": [
        "A String",
      ],
    },
    "variantId": 42,
  }
download(packageName=*, versionCode=*, variantId=*)
Download a previously created APK which is suitable for inclusion in a system image.

Args:
  packageName: string, Unique identifier for the Android app; for example, "com.spiffygame". (required)
  versionCode: string, The version code of the App Bundle. (required)
  variantId: integer, A parameter (required)
download_media(packageName=*, versionCode=*, variantId=*)
Download a previously created APK which is suitable for inclusion in a system image.

Args:
  packageName: string, Unique identifier for the Android app; for example, "com.spiffygame". (required)
  versionCode: string, The version code of the App Bundle. (required)
  variantId: integer, A parameter (required)
get(packageName=*, versionCode=*, variantId=*)
Returns a previously created system APK variant.

Args:
  packageName: string, Unique identifier for the Android app; for example, "com.spiffygame". (required)
  versionCode: string, The version code of the App Bundle. (required)
  variantId: integer, Unique identifier for this variant. (required)

Returns:
  An object of the form:

    { # Represents the variant of a generated system APK from an uploaded App Bundle.
    "deviceSpec": {
      "screenDensity": 42,
      "supportedAbis": [
        "A String",
      ],
      "supportedLocales": [
        "A String",
      ],
    },
    "variantId": 42,
  }
list(packageName=*, versionCode=*)
Returns the list of previously created system APK variants.

Args:
  packageName: string, Unique identifier for the Android app; for example, "com.spiffygame". (required)
  versionCode: string, The version code of the App Bundle. (required)

Returns:
  An object of the form:

    {
    "variants": [
      { # Represents the variant of a generated system APK from an uploaded App Bundle.
        "deviceSpec": {
          "screenDensity": 42,
          "supportedAbis": [
            "A String",
          ],
          "supportedLocales": [
            "A String",
          ],
        },
        "variantId": 42,
      },
    ],
  }