• Stars
    star
    19
  • Rank 1,163,249 (Top 23 %)
  • Language
    Go
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

golang library for textbelt.com

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)
    }
}