go-pixie is a simple Go wrapper for the Pixie SMS API.
go mod init github.com/my/repo
go get github.com/jomla97/go-pixie
import "github.com/jomla97/go-pixie"
- Numbers in
to
should be separated with a comma (,
) and should each be lead with the country-code (e.g+46
for Sweden) - For a newline in
message
, use\n
px := pixie.NewClient("username", "password")
err := px.Send("sender", "to", "message")
if err != nil {
//Handle error
}