Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Smockeo API crawler

Project description

smockrawl

Basic Smockeo API crawler.

Usage:

Initialisation: mySmockeo = Smockeo(username, password, detectorId, loop, session)

Where loop is an asyncio event loop and session an aiohttp session. Have a look at the code in __main__.py to see how this can work.

Authentication: mySmockeo.authenticate()

Poll the sensor: mySmockeo.poll()

Following this, properties such as the sensor state, battery level or the last alarm can be read from the object.

An info reading can be printed with: mySmockeo.print_status()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for smockrawl, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size smockrawl-0.2.3.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page