/pushy

Primary LanguageGoMIT LicenseMIT

Pushy.me strongly typed SDK for golang

Go Report CardBuild Statuscodecov

Visit godoc for documentation

Installation

go get github.com/cyberhck/pushy

Usage:

sdk := pushy.Create("API_TOKEN", pushy.GetDefaultAPIEndpoint())
sdk.SetHTTPClient(pushy.GetDefaultHTTPClient(10 * time.Second))
res, _, _ := sdk.DeviceInfo("DEVICE_ID")
log.Println(res)