Skip to content

baboooin/GoSmsRu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Golang library for SMS.RU

Usage:

package main

import (
    sms "github.com/baboooin/go_sms_ru"
)

func main{
  c := sms.SmsRU(Ваш API_ID)
    if res, err := c.Balance(); err == nil {
	    log.Println(res)
    }
    if res, err := c.Limit(); err == nil {
	    log.Println(res)
    }
    if res, err := c.Send("+ Mobile number", "Message"); err == nil {
	    log.Println(res)
    }
    if res, err := c.Call("+ Mobile number"); err == nil {
	    log.Println(res)
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages