mirror of
https://github.com/i1v/googleplay
synced 2024-09-21 12:19:26 +00:00
23 lines
383 B
Go
23 lines
383 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"2a.pages.dev/googleplay"
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
var head googleplay.Header
|
||
|
head.Open_Device("x86.bin")
|
||
|
head.Open_Auth("auth.txt")
|
||
|
head.Auth.Exchange()
|
||
|
detail, err := head.Details("com.app.xt")
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
text, err := detail.MarshalText()
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
os.Stdout.Write(text)
|
||
|
}
|