• Stars
    star
    19
  • Rank 1,124,227 (Top 23 %)
  • Language
    Go
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 8 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)
    }
}