Skip to content

infarm/go-iot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud IoT API

Go Client Library for ClearBlade IoT Core API. Go Reference

Setting up service account credentials

Create a service account in your project and download the credentials .json file.

To authenticate API requests you can use one of two options:

  1. Define an environment variable named CLEARBLADE_API_CREDENTIALS_JSON and the value is the JSON payload of the service account.

    Example:

    export CLEARBLADE_API_CREDENTIALS_JSON='{"systemKey": "...","token": "...","url": "...","project": "..."}'
    
  2. Define an environment variable named CLEARBLADE_CONFIGURATION which represents the path to the credentials .json file.

    Example:

    export CLEARBLADE_CONFIGURATION=/path/to/file.json
    

Authorization

See the Authorization documentation for authorizing sdk with clearblade iot-core

API Documentation

View the Go sections of these Samples

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 100.0%