Skip to main content

Flespi REST API for Python

Project description

flespi-Python

flespi-python is a flespi Rest API Wrapper for python language.

Installation

Use the package manager pip to install flespi-python. Install the dependencies and devDependencies and start the server.

$ pip3 install flespi

Usage

from flespi.rest import FlespiClient

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

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


Release history Release notifications

This version

1.0.0

Download files

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

Files for flespi, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size flespi-1.0.0.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page