Skip to content

andern/keysms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Import

import "github.com/andern/keysms"

Send SMS

Sending an SMS to one or multiple recipients is very simple:

keysms.Auth("username", "apiKey")
keysms.SendSMS("text message here", "98765432", "12345678")

To change sender or to send an SMS in the future you should use SMSParam:

msg := keysms.SMSParams{
    Message:   "text message here",
    Receivers: []string{"98765432", "12345678"},
    Sender:    "99999999",
    Time:      time.Now().Add(2 * time.Hour),
}
keysms.Send(msg)

About

Unofficial Golang API Library for KeySMS.no

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages