Google Play Android Developer API . internalappsharingartifacts

Instance Methods

close()

Close httplib2 connections.

uploadapk(packageName, media_body=None, media_mime_type=None, x__xgafv=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 [Timeouts and Errors](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, x__xgafv=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 [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.

Method Details

close()
Close httplib2 connections.
uploadapk(packageName, media_body=None, media_mime_type=None, x__xgafv=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 [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.

Args:
  packageName: string, Package name of the app. (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.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # An artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.
  "certificateFingerprint": "A String", # The sha256 fingerprint of the certificate used to sign the generated artifact.
  "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 sha256 hash of the artifact represented as a lowercase hexadecimal number, matching the output of the sha256sum command.
}
uploadbundle(packageName, media_body=None, media_mime_type=None, x__xgafv=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 [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java.

Args:
  packageName: string, Package name of the app. (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.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # An artifact resource which gets created when uploading an APK or Android App Bundle through internal app sharing.
  "certificateFingerprint": "A String", # The sha256 fingerprint of the certificate used to sign the generated artifact.
  "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 sha256 hash of the artifact represented as a lowercase hexadecimal number, matching the output of the sha256sum command.
}