Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farmergreg/textbelt
golang library for textbelt.com
https://github.com/farmergreg/textbelt
Last synced: 3 days ago
JSON representation
golang library for textbelt.com
- Host: GitHub
- URL: https://github.com/farmergreg/textbelt
- Owner: farmergreg
- License: mit
- Created: 2015-09-01T22:46:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-04T14:12:39.000Z (about 9 years ago)
- Last Synced: 2024-05-29T21:29:26.928Z (5 months ago)
- Language: Go
- Homepage: https://www.gregd.org/
- Size: 227 KB
- Stars: 19
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - textbelt - Go client for the textbelt.com txt messaging API. (Third-party APIs / Utility/Miscellaneous)
- awesome-go-extra - textbelt - 09-01T22:46:42Z|2015-09-04T14:12:39Z| (Third-party APIs / Fail injection)
README
textbelt.com API for GO
==================
[![GoDoc](https://godoc.org/github.com/dietsche/textbelt?status.png)](https://godoc.org/github.com/dietsche/textbelt) [![Code Coverage](http://gocover.io/_badge/github.com/dietsche/textbelt)](http://gocover.io/github.com/dietsche/textbelt) [![Build Status](https://travis-ci.org/dietsche/textbelt.svg)](https://travis-ci.org/dietsche/textbelt)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)
}
}