https://github.com/santik/go-sms-api-wrapper
Golang MessageBird SMS API wrapper
https://github.com/santik/go-sms-api-wrapper
api go golang messagebird sms
Last synced: 7 months ago
JSON representation
Golang MessageBird SMS API wrapper
- Host: GitHub
- URL: https://github.com/santik/go-sms-api-wrapper
- Owner: santik
- Created: 2017-11-24T15:26:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-28T14:51:57.000Z (about 8 years ago)
- Last Synced: 2025-06-24T15:06:51.344Z (7 months ago)
- Topics: api, go, golang, messagebird, sms
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sms Api Wrapper in Golang
This is my first(_and only_) project in Golang.
I tried to rewrite PHP sms wrapper (https://raw.githubusercontent.com/santik/sms_api_wrapper) in Go to start learning this language.
Supports MessageBird API out of the box.
**Running**
Rename config-example.json to config.json
Set correct key in config.
Set correct path is main.o::getClient()
In one terminal run
go run *.go
In another terminal make a request
curl localhost:8080/send -d '{"recipients":"+1234567890","originators":"originator","messagesss":"message"}' -H 'Content-Type: application/json'
Test
go test
**TODO**
more tests!