Google Play Developer API . internalappsharingartifacts

Instance Methods

uploadapk(packageName, media_body=None, media_mime_type=None)

Uploads an APK to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.

uploadbundle(packageName, media_body=None, media_mime_type=None)

Uploads an app bundle to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.

Method Details

uploadapk(packageName, media_body=None, media_mime_type=None)
Uploads an APK to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.

Args:
  packageName: string, Unique identifier for the Android app; for example, "com.spiffygame". (required)
  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.

Returns:
  An object of the form:

    { # An artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.
    "downloadUrl": "A String", # The download URL generated for the uploaded artifact. Users that are authorized to download can follow the link to the Play Store app to install it.
    "sha256": "A String", # The SHA-256 hash of the artifact represented as a lowercase hexadecimal number, matching the output of the sha256sum command.
    "certificateFingerprint": "A String", # The SHA256 fingerprint of the certificate used to signed the generated artifact.
  }
uploadbundle(packageName, media_body=None, media_mime_type=None)
Uploads an app bundle to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.

Args:
  packageName: string, Unique identifier for the Android app; for example, "com.spiffygame". (required)
  media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
  media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.

Returns:
  An object of the form:

    { # An artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.
    "downloadUrl": "A String", # The download URL generated for the uploaded artifact. Users that are authorized to download can follow the link to the Play Store app to install it.
    "sha256": "A String", # The SHA-256 hash of the artifact represented as a lowercase hexadecimal number, matching the output of the sha256sum command.
    "certificateFingerprint": "A String", # The SHA256 fingerprint of the certificate used to signed the generated artifact.
  }