1 API Parameters
_
2 Resources
2.1 purchases
androidpublisher-purchases-get
androidpublisher-purchases-cancel
Version: 5.3

Google Play Android Developer API v1

This documentation has been automatically generated using information supplied by the Google API Discovery service.

Lets Android application developers access their Google Play accounts. Google documentation.
(require-gapi-doc "androidpublisher.v1.js")

1 API Parameters

The following optional keyword arguments may be passed to all functions for this web service:

procedure

(_ [#:alt alt    
  #:fields fields    
  #:key key    
  #:oauth_token oauth_token    
  #:prettyPrint prettyPrint    
  #:quotaUser quotaUser    
  #:userIp userIp])  jsexpr?
  alt : string? = 'N/A
  fields : string? = 'N/A
  key : string? = (api-key)
  oauth_token : string? = 'N/A
  prettyPrint : string? = 'N/A
  quotaUser : string? = 'N/A
  userIp : string? = 'N/A

This is not actually a function. This is just using Scribble’s defproc form to list the optional keyword arguments that may be passed to all functions for this service.

alt: Data format for the response.

fields: Selector specifying which fields to include in a partial response.

key: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token: OAuth 2.0 token for the current user.

prettyPrint: Returns response with indentations and line breaks.

quotaUser: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.

userIp: IP address of the site where the request originates. Use this if you want to enforce per-user limits.

2 Resources

2.1 purchases

procedure

(androidpublisher-purchases-get 
  #:packageName packageName 
  #:subscriptionId subscriptionId 
  #:token token 
  [#:alt alt 
  #:fields fields 
  #:key key 
  #:oauth_token oauth_token 
  #:prettyPrint prettyPrint 
  #:quotaUser quotaUser 
  #:userIp userIp]) 
  jsexpr?
  packageName : string?
  subscriptionId : string?
  token : string?
  alt : string? = 'N/A
  fields : string? = 'N/A
  key : string? = (api-key)
  oauth_token : string? = 'N/A
  prettyPrint : string? = 'N/A
  quotaUser : string? = 'N/A
  userIp : string? = 'N/A
Checks whether a user’s subscription purchase is valid and returns its expiry time.

packageName: The package name of the application for which this subscription was purchased (for example, ’com.some.thing’).

subscriptionId: The purchased subscription ID (for example, ’monthly001’).

token: The token provided to the user’s device when the subscription was purchased.

procedure

(androidpublisher-purchases-cancel 
  #:packageName packageName 
  #:subscriptionId subscriptionId 
  #:token token 
  [#:alt alt 
  #:fields fields 
  #:key key 
  #:oauth_token oauth_token 
  #:prettyPrint prettyPrint 
  #:quotaUser quotaUser 
  #:userIp userIp]) 
  jsexpr?
  packageName : string?
  subscriptionId : string?
  token : string?
  alt : string? = 'N/A
  fields : string? = 'N/A
  key : string? = (api-key)
  oauth_token : string? = 'N/A
  prettyPrint : string? = 'N/A
  quotaUser : string? = 'N/A
  userIp : string? = 'N/A
Cancels a user’s subscription purchase. The subscription remains valid until its expiration time.

packageName: The package name of the application for which this subscription was purchased (for example, ’com.some.thing’).

subscriptionId: The purchased subscription ID (for example, ’monthly001’).

token: The token provided to the user’s device when the subscription was purchased.