Flespi REST API for Python
Flespi REST API wrapper for Python
Use the package manager pip to install flespi
$ pip3 install flespi
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)
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.