https://github.com/pve/foobotapi
Foobot API to downstream services data propagation
https://github.com/pve/foobotapi
adafruit-io foobot google-cloud stackdriver
Last synced: 21 days ago
JSON representation
Foobot API to downstream services data propagation
- Host: GitHub
- URL: https://github.com/pve/foobotapi
- Owner: pve
- Created: 2017-03-27T21:10:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2026-01-19T14:31:17.000Z (5 months ago)
- Last Synced: 2026-01-19T20:52:17.985Z (5 months ago)
- Topics: adafruit-io, foobot, google-cloud, stackdriver
- Language: Python
- Homepage:
- Size: 1.67 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Using the Foobot API with Google Cloud Functions and CD
The Foobot is an indoor air pollution sensor device.
Io.Adafruit is a dashboard for IOT.

This code pulls [Foobot](http://foobot.io) data from its API and sends it to [io.adafruit.com](http://io.adafruit.com) and a Google BigQuery database. As the picture suggests, this is in live production.
The second objective of this code is to demonstrate **cloud native development**. In this case we are working with '_serverless_' functions, including continuous delivery, and
this time we are focussing on the Google code ecosystem. More tutorial explanation is in [here](main.md), where I dissect the full approach theme by theme, topic by topic.
Technologies and techniques used:
- Google Cloud functions
- Continuous delivery through Google Cloud Build
- Automated unit, integration and security testing
- BigQuery
- Foobot API, Io.Adafruit API
- Continuous monitoring through StackDriver
- Slack integration for build and run notifications
- Secrets and credentials management in a DevSecOps world
- Workflow for Python based development (atom, pyenv, pytest, bandit)
You should be able to replicate this setup yourself, if you have accounts for
these services.
Continue reading [here](main.md).
By the way, comments, issues and pull requests welcome.