This is an unofficial Golang library for Jusibe. This library supports sending sms, checking available credits and delivery status of SMS's sent using the Jusibe SMS HTTP API.
Go-Jusibe is licensed under a BSD license.
To install this package, simply run go get github.com/michaelokuboyejo/go_jusibe
.
package main
import (
"github.com/michaelokuboyejo/gojusibe"
)
func main() {
publicKey := "yourPublicKey"
accessToken := "yourAccessToken"
jusibe := gojusibe.JusibeClient(publicKey, accessToken)
//sendSMS
from := "Spiderman"
to := "+23423456789"
message := "Hi There, Mate!"
jusibe.SendSMS(from, to, message)
//check Available Credits
//check Delivery status of message
}