Skip to main content

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

Project description

Flespi gateway python library

Build Status Documentation Status 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.6+.

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.8.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flespi_gateway-0.0.8-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file flespi-gateway-0.0.8.tar.gz.

File metadata

  • Download URL: flespi-gateway-0.0.8.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.0

File hashes

Hashes for flespi-gateway-0.0.8.tar.gz
Algorithm Hash digest
SHA256 da10312f91f909dbe044bfa44068761bae2f2d6c2956c7b50994ee47097c758a
MD5 22d1ee9e816e1f5fac3566e021524ff1
BLAKE2b-256 d7c4baa71bcc9ca9274c77e24ac067b844e9cc829ba3682243fe3244ce72e3b1

See more details on using hashes here.

File details

Details for the file flespi_gateway-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: flespi_gateway-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.0

File hashes

Hashes for flespi_gateway-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1b52611fd2e1e39e99b285a7e07383a2f92dd8980949d8c63391ec7a6c50b3bd
MD5 06449c5384f7f0b958cc88031112b8ea
BLAKE2b-256 94a51229ecbfbd83c7acea852372503c7c2e1358215f63450ea25acfa30251a3

See more details on using hashes here.

Supported by

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