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

sphereio/sphere-hello-api-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Get started using the SPHERE.IO API with golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published