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.9.tar.gz (12.1 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.9-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file flespi_gateway-0.0.9.tar.gz.

File metadata

  • Download URL: flespi_gateway-0.0.9.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for flespi_gateway-0.0.9.tar.gz
Algorithm Hash digest
SHA256 3dd0c1e0e5d4f13384361494098cbed1d18eed9a671803f34f4fdc7635b2ec04
MD5 510c04f3cfa11ae95900d710c61b4f91
BLAKE2b-256 1c63ac22ccf050783cd49dab8bc4a1bbb4b3a1c662f750f245fe8e28a2c67f83

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flespi_gateway-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for flespi_gateway-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5b685d84a1a5063fc79c9aef2f4575b1be930fe00dcab30150f224d3fb607c99
MD5 a3c4111d1551e5dc583dd78b4a3a27f5
BLAKE2b-256 0cebd8742b2389ac49a9047bb4f2dd479aeadc7c2c6b8d3ab3cbbfe6a0997dc0

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