flespi

Flespi REST API for Python


License
MIT
Install
pip install flespi==1.2.2

Documentation

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