Skip to main content

pyfoobot

https://travis-ci.org/philipbl/pyfoobot.svg?branch=master

A Python wrapper for the FooBot API. It allows you to pull data from your Foobot device.

Installation

pip install pyfootbot

Example

from pyfoobot import Foobot

fb = Foobot("API secret key", "username", "password")
devices = fb.devices()

# Devices is a list, in case you have more than one foobot
device = devices[0]

# Get the most recent sample
latest_data = device.latest()

# Get data from the last hour
last_hour_data = device.data_period(3600, 0)

# Get data for a data range
range_data = device.data_range(start='2016-04-12T11:00:00',
                               end='2016-04-12T12:00:00',
                               sampling=0)

Metadata

Release files for pyfoobot 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyfoobot 0.2
File Size Uploaded
pyfoobot-0.2.tar.gz 2.7 kB Details

Release files / pyfoobot-0.2.tar.gz

Download URL pyfoobot-0.2.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ded37d730b8616212287df26c50325c3fb69adebdf239aba68f55e77164ee7c1
BLAKE2b-256 checksum
How to use checksums
c7e74d8817ad392396f7645d1c9545fd35a51e2db518ac2f037b16fbeaf184d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page