Skip to content

ssiyad/engagespot-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go

engagespot-go

Go SDK for Engagespot

Installation

go get github.com/ssiyad/engagespot-go

Example

package main

import "github.com/ssiyad/engagespot-go"

func main() {
    c := engagespot.NewEngagespotClient("API_KEY", "API_SECRET")

    n, _ := c.NewNotification("Hello world!")
    n.SetMessage("Let's go!")
    n.SetIcon("https://example.com/icon.svg")
    n.SetUrl("https://example.com")
    n.SetCategory("greet")
    n.AddRecipient("hello@example.com")

    n.Send()
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages