Struct gpapi::Gpapi[][src]

pub struct Gpapi { /* fields omitted */ }
Expand description

The Gpapi object is the sole way to interact with the Play Store API. It abstracts the logic of low-level communication with Google’s Play Store servers.

Implementations

Returns a Gpapi struct with locale, timezone, and the device codename specified.

Arguments

  • locale - A string type specifying the device locale, e.g. “en_US”
  • timezone - A string type specifying the timezone , e.g. “UTC”
  • device_codename - A string type specifying the device codename, e.g. “hero2lte”

Log in to Google’s Play Store API. This is required for most other actions.

Arguments

  • username - A string type specifying the login username, usually a full email
  • password - A string type specifying an app password, created from your Google account settings.

Download a package, given a package ID, optional version code, and filesystem path.

Arguments

  • pkg_name - A string type specifying the package’s app ID, e.g. com.instagram.android
  • version_code - An optinal version code, given in i32. If omitted, the latest version will be used
  • dst_path - A path to download the file to.

Retrieve the download URL for a package, given a package ID and optional version code.

Arguments

  • pkg_name - A string type specifying the package’s app ID, e.g. com.instagram.android
  • version_code - An optinal version code, given in i32. If omitted, the latest version will be used

Play Store package detail request (provides more detail than bulk requests).

Arguments

  • pkg_name - A string type specifying the package’s app ID, e.g. com.instagram.android

Play Store bulk detail request for multiple apps.

Arguments

  • pkg_names - An array of string types specifying package app IDs

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.