ExPlay v0.1.3 ExPlay.Request.API

Google Play API call handler methods

Summary

Functions

Prepare headers depending on the type of api request

Prepares body for Download information request

API specific GET requests

Parses Google API request response to check if it was successful

Returns all details about a Google Play APK package, needs an authorized account object

Attempts to retrieve APK download information

API specific POST requests

Generates API specific URLs from specified paths

Functions

api_headers(account, type \\ :get)

Prepare headers depending on the type of api request

download_params(package, version_code \\ nil)

Prepares body for Download information request

get!(url, params)

See ExPlay.Request.Base.get!/2.

get!(url, params, headers)

API specific GET requests

handle_response(response)

Parses Google API request response to check if it was successful

package_details(account, package)

Returns all details about a Google Play APK package, needs an authorized account object

package_download_info(account, package)

Attempts to retrieve APK download information

post!(url, params)

See ExPlay.Request.Base.post!/2.

post!(url, params, headers)

API specific POST requests

process_url(path)

Generates API specific URLs from specified paths