1
0
Fork 0
mirror of https://github.com/i1v/googleplay synced 2024-09-21 12:19:26 +00:00
googleplay/cmd/example/example.go
2023-02-06 18:32:42 -06:00

22 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)
}