Skip to content

fossapps/pushy

Repository files navigation

Pushy.me strongly typed SDK for golang

Go Report CardBuild Statuscodecov

Visit godoc for documentation

Installation

go get github.com/fossapps/pushy

Usage:

package main

import (
	"github.com/fossapps/pushy"
	"log"
	"time"
)

func main() {
	sdk := pushy.Create("API_TOKEN", pushy.GetDefaultAPIEndpoint())
	sdk.SetHTTPClient(pushy.GetDefaultHTTPClient(10 * time.Second))
	res, requestErr, networkErr := sdk.DeviceInfo("DEVICE_ID")
	if networkErr != nil {
	  log.Println(networkErr)
	}
	if requestErr != nil {
	  log.Println(requestErr)
	}
	log.Println(res)
}

About

Strongly Typed SDK for pushy.me platform

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages