Skip to main content

The python wrapper of a gateway rest API of a flespi platform.

Project description

Flespi gateway python library

Build Status Read the Docs PyPI

flespy-gateway is a python library.

>>> from flespi_gateway.gateway import Device
>>> dv = Device(device_number=device_number, flespi_token=flespi_token)
>>> telemetry = dv.get_telemetry()
>>> print(telemetry)
{'result': [{'id': xxxxxx,
   'telemetry': {'battery.current': {'ts': 1609521935, 'value': 0},
    'battery.voltage': {'ts': 1609521935, 'value': 4.049},
    'can.absolute.load': {'ts': 1609327396, 'value': 23}]
}

Flespi gateway allows you to send http requests easily.

Installing Flespi gateway and Supported Versions

Flespi gateway is available on PyPI:

$ python3 -m pip install flespi-gateway

Flespi gateway supports Python 3.8+.

API Reference and User Guide available on Read the Docs

Project details


Download files

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

Source Distribution

flespi-gateway-0.0.6.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

flespi_gateway-0.0.6-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page