Home - s00d/onlinesim-go-api GitHub Wiki

Onlinesim GO API

Wrapper for automatic reception of SMS-messages by onlinesim.ru

Where apikey?

You need to create an account HERE and go to profile to get APIKEY

Installation

You can install or upgrade package with:

go get github.com/s00d/onlinesim-go-api

Example

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(fmt.Sprintf("%+v\n", data))
}

Documentation

All documentation is in the wiki of this project - Documentation

Bugs

If you have any problems, please create Issues here https://github.com/s00d/onlinesim-go-api/issues

API

GetUser API

GetNumbers API

GetRent API

GetProxy API

GetForward API

GetFree API