Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jomla97 committed Jun 3, 2022
1 parent 4594e1c commit 706365e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
go-pixie is a simple Go wrapper for the [Pixie SMS API](https://www.pixie.se/Home/Index).

# Getting started

## Installation
```
go mod init github.com/my/repo
go get github.com/jomla97/go-pixie
go get github.com/MjukBiltvatt/go-pixie
```

## Importing
``` go
import "github.com/jomla97/go-pixie"
import "github.com/MjukBiltvatt/go-pixie"
```

## Complete example
* Multiple phone numbers in `to` should be separated with a comma (`,`)
* For a newline in `message`, use `\n`
``` go
//Create a new Client
px := pixie.NewClient("username", "password")
px := pixie.New("username", "password")

//Set a standard country code (not required, but if the first character of the phone number is `0` an error is returned otherwise)
px.StandardCountryCode = "+46"
Expand Down

0 comments on commit 706365e

Please sign in to comment.