Skip to content

MjukBiltvatt/go-pixie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-pixie is a simple Go wrapper for the Pixie SMS API.

Getting started

Installation

go mod init github.com/my/repo
go get github.com/jomla97/go-pixie

Importing

import "github.com/jomla97/go-pixie"

Complete example

  • Numbers in to should be separated with a comma (,) and should each be lead with the country-code (e.g +46 for Sweden)
  • For a newline in message, use \n
px := pixie.NewClient("username", "password")

err := px.Send("sender", "to", "message")
if err != nil {
    //Handle error
}