README ¶ gpsoauth-go Google Play Services OAuth Package for Golang Simply go get github.com/Gacnt/gpsoauth-go Look at the Test for exact usage on how to work it. Largely inspired by: gpsoauthnode Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Constants func Login(email, password, android_id string) (string, string, error) func OAuth(email, master_token, android_id, service, app, client_sig string) (map[string]string, error) type GoogleOAuthOptions Constants ¶ View Source const ( USER_AGENT string = "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Andromax I56D2G Build/LMY47V" AUTH_URL string = "https://android.clients.google.com/auth" ) Variables ¶ This section is empty. Functions ¶ func Login ¶ func Login(email, password, android_id string) (string, string, error) func OAuth ¶ func OAuth(email, master_token, android_id, service, app, client_sig string) (map[string]string, error) Types ¶ type GoogleOAuthOptions ¶ type GoogleOAuthOptions struct { URL string Method string ContentType string Data *strings.Reader Token string } Source Files ¶ View all Source files oauth.go Click to show internal directories. Click to hide internal directories.