GithubHelp home page GithubHelp logo

roryhalliwell / dnaspaces-iot-services-demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leigh-jewell/dnaspaces-iot-services-demo

0.0 0.0 0.0 16 KB

Cisco DNA Spaces IOT Services Firehose demo

License: MIT License

Python 57.39% HTML 42.61%

dnaspaces-iot-services-demo's Introduction

Cisco DNA Spaces IOT Services Firehose demo

Cisco DNA Spaces Helper

A small demonstration script to show the power of Cisco DNA Spaces IOT Services feature. You provide the Firehose API token and a list of BLE mac addresses to track and it will output a table with the Telemetry details.

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-helper.git

Prerequisites

  • Install Python 3.7+ with the appropriate distribution for your OS.
  • Install Pipenv using pip which should have been installed with Python3:
pip install pipenv

Or if you are using Homebrew simply run:

brew install pipenv
  • For your script to authenticate with Cisco DNA Spaces you need to create a token in your account.

Installing

Create the virtual environment using Pipflie.lock. This will ensure the dependencies are installed

pipenv install --ignore-pipfile

Running the scrips

The script will use the environment variable 'TOKEN' to authenticate to DNA Spaces. You will need to set this according to your OS.

export FLASK_APP=app
$ flask run

Built With

  • Requests - Requests is an elegant and simple HTTP library for Python, built for human beings.

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.

dnaspaces-iot-services-demo's People

Contributors

leigh-jewell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.