Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ssiyad/engagespot-go
https://github.com/ssiyad/engagespot-go
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ssiyad/engagespot-go
- Owner: ssiyad
- License: apache-2.0
- Created: 2022-03-08T19:06:19.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-30T13:56:02.000Z (about 1 year ago)
- Last Synced: 2024-06-20T17:46:52.241Z (5 months ago)
- Language: Go
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Go](https://img.shields.io/badge/go-%2300ADD8.svg?style=for-the-badge&logo=go&logoColor=white)
# engagespot-go
Go SDK for [Engagespot](https://engagespot.co/)### Installation
```shell
go get github.com/ssiyad/engagespot-go
```### Example
```go
package mainimport "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("[email protected]")n.Send()
}
```