Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.85 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.85 KB

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