golang library for textbelt.com
Go
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore Initial commit Sep 1, 2015
.travis.yml update travis.yml Sep 2, 2015
LICENSE update license text Sep 2, 2015
README.md
textbelt.go fix lint issues Sep 3, 2015
textbelt_test.go

README.md

textbelt.com API for GO

GoDoc Code Coverage Build Status

This library sends text messages to mobile phones using http://textbelt.com

Installing

go get

$ go get gopkg.in/dietsche/textbelt.v1

Example Code

package main

import (
    "gopkg.in/dietsche/textbelt.v1"
)

func main() {
    texter := textbelt.New()
    phoneToText := "123-456-7890"
    if err := texter.Text(phoneToText, "txt msg from go!"); err != nil {
        panic(err)
    }
}