Skip to main content

Flespi REST API for Python

Project description

Flespi REST API wrapper for Python

pypi version

Installation

Use the package manager pip to install flespi

$ pip3 install flespi

Usage

from flespi import FlespiClient
# Or
from flespi.rest import FlespiClient

token = 'your_token' # Without "FlespiToken"
# Initialize Flespi instance
flespi = FlespiClient(token)

response = flespi.get('/gw/devices/all')

print(response)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

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

Uploaded Source

Built Distribution

flespi-2.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file flespi-2.0.1.tar.gz.

File metadata

  • Download URL: flespi-2.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for flespi-2.0.1.tar.gz
Algorithm Hash digest
SHA256 b2282f44fab831999e9bcfef4edca6b9bbd9a63b36e9aebc15284ea763b0b387
MD5 f0744e5c9ab81168046339472357f589
BLAKE2b-256 04515a3e136bb11cb2fcc60afa2b39634754b2b423cd73b9a335ac4b410b348d

See more details on using hashes here.

File details

Details for the file flespi-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: flespi-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.9

File hashes

Hashes for flespi-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d9690dc798959ff2407788f14d595a12200b179ff01ece9e8ebbd5ed0c16c24
MD5 62749e78bd3d86b119a8c4b7ae707a3b
BLAKE2b-256 8be051e2b22a1bfb87535447af173ae8f3ecadb559159e97569a06c0c7300623

See more details on using hashes here.

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