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

22 lines
435 B
Go

package googleplay
import (
"fmt"
"os"
"testing"
)
func Test_Delivery(t *testing.T) {
home, err := os.UserHomeDir()
if err != nil {
t.Fatal(err)
}
var head Header
head.Open_Auth(home + "/googleplay/auth.txt")
head.Open_Device(home + "/googleplay/x86.bin")
del, err := head.Delivery("com.google.android.youtube", 1524221376)
if err != nil {
t.Fatal(err)
}
fmt.Printf("%+v\n", del)
}