googleplay

package
v1.28.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2021 License: OSL-3.0 Imports: 7 Imported by: 0

README

Play

Google Play

https://accounts.google.com/EmbeddedSetup

Android API

Using API 24 fails, but API 25 or higher works. It applies to all devices, not just Virtual Devices.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseQuery

func ParseQuery(query []byte) url.Values

text/plain encoding algorithm html.spec.whatwg.org/multipage/form-control-infrastructure.html

Types

type Ac2dm

type Ac2dm struct {
	url.Values
}

func NewAc2dm

func NewAc2dm(token string) (*Ac2dm, error)

1. exchange embedded token (oauth2_4) for refresh token (aas_et) accounts.google.com/EmbeddedSetup

func (Ac2dm) OAuth2

func (a Ac2dm) OAuth2() (*OAuth2, error)

2. exchange refresh token (aas_et) for access token (Auth)

type OAuth2

type OAuth2 struct {
	url.Values
}

func (OAuth2) Details

func (o OAuth2) Details(id string) ([]byte, error)

ID is Google Service Framework

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL