Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Latest commit

 

History

History
30 lines (22 loc) · 753 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 753 Bytes

SPHERE.IO icon

Go Hello API

Build Status

An example using the Go language to authenticate your application to SPHERE.IO and get the products in your project.

Setup

Provide a config.json file with your SPHERE.IO project credentials

{
  "client_id": "",
  "client_secret": "",
  "project_key": ""
}

Now, assuming you have go installed, and $GOPATH configured, install the script dependecies and compile it

$ go get github.com/sphereio/jsonq
$ go build hello.go

Run

$ ./hello