Skip to content

nightswinger/gofox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 

Repository files navigation

gofox

gofox is a Go client library for accessing the Sigfox API(2.0).

Install

go get -u github.com/nightswinger/gofox/sigfox

Usage

import "github.com/nightswinger/gofox/sigfox"

Construct a new Sigfox client, then use services on the client to access different parts of the Sigfox API. For example:

client := sigfox.NewClient("API_LOGIN_ID", "API_PASSWORD")

// Get device list
list, err := client.Device.List(nil)

// Get device messages
msg, err := client.Device.Messages("DeviceID")

// Get device type information with context
ctx := context.Background()
info, err := client.DeviceType.InfoContext(ctx, "DeviceID")

About

Sigfox API wrapper for Golang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages