history

command
Version: v0.0.0-...-4d11edc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Example: history/main.go

This example shows how to initialise the library and retrieve a history of devices over the last two hours.

In order to use this library, you will need two environment variables:

- DNAS_REGION - if you are in the USA, set to "io", elsewhere, set to "eu".
- DNAS_API_KEY - set this to your API Key from DNA Spaces: https://developer.cisco.com/docs/dna-spaces/#!getting-started/getting-started

How to run:

go run ./examples/history/main.go

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL