Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goldenm-software/flespi-python
Flespi REST API wrapper for Python Language
https://github.com/goldenm-software/flespi-python
Last synced: about 2 months ago
JSON representation
Flespi REST API wrapper for Python Language
- Host: GitHub
- URL: https://github.com/goldenm-software/flespi-python
- Owner: goldenm-software
- License: mit
- Created: 2024-02-15T06:41:19.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-03T22:16:35.000Z (4 months ago)
- Last Synced: 2024-11-06T20:24:05.694Z (about 2 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flespi REST API wrapper for Python
[![pypi version](https://badge.fury.io/py/flespi.svg)](https://pypi.org/project/flespi/)## Installation
Use the package manager [pip](https://pypi.org/) to install flespi```bash
$ pip3 install flespi
```### Usage
```python
from flespi import FlespiClient
# Or
from flespi.rest import FlespiClienttoken = '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](https://choosealicense.com/licenses/mit/)