Wrapper for automatic reception of SMS-messages by onlinesim.ru
Require this package in your package.json
or install it by running:
go get github.com/s00d/onlinesim-go-api
package main
import (
"github.com/s00d/onlinesim-go-api"
)
func main() {
client := onlinesim.NewClient("", "en", "").Numbers()
error, data := client.Get("vkcom", 7)
if error != nil {
panic(error)
}
println("end")
println(fmt.Sprintf("%+v\n", data))
}
All documentation is in the wiki of this project - Documentation
If you have any problems, please create Issues here