Skip to content

A light weight Javascript demonstration to show how you could easily show the number of devices per floor in a webpage using Cisco DNA Spaces APIs.

License

Notifications You must be signed in to change notification settings

leigh-jewell/dnaspaces-floor-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cisco DNA Spaces Floor Counter

A small example web page that uses Javscript to easily extract data from Cisco DNA Spaces via it's API to display the nunmber of devices on each floor in a simple table. The idea is this page could help people to see if a floor is too busy.

Getting Started

  • Have a look at the Cisco DNA Spaces API over at DevNet. To get familar with the APIs available.
  • Clone this repository into a directory to get the helper scripts:
git clone https://github.com/leigh-jewell/dnaspaces-floor-counter.git

Prerequisites

Running the file locally

  • Simply File -> Open the index.html file in your web brower.
  • Paste in the DNA Spaces API token into the input field
  • Hit Go
  • Wait a few seconds (it needs to make two API calls)
  • Results will be displayed in a table

Built With

  • Javascript
  • Cisco DNA Spaces API

Authors

  • Leigh Jewell - Initial work - Github

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Thanks to Cisco DNA Spaces for such a great product.
  • Thanks to some great Javascript examples which I was inspired with: The Definitive Guide, 7th Edition by David Flanagan Published by O'Reilly Media, Inc., 2020

About

A light weight Javascript demonstration to show how you could easily show the number of devices per floor in a webpage using Cisco DNA Spaces APIs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published