Fing Agent local API library.
Project description
Fing Agent API
FingAgent is a Python library for interfacing with the local APIs of the Fingbox. It allows you to easily interact with the devices and contacts managed by your Fingbox.
Requirements
- Python 3.11.1 or higher
- httpx (for asynchronous HTTP requests)
Example
Here is a complete example of using the library:
from fing_agent_api import FingAgent
import asyncio
async def main():
# Configure the Fing agent
agent = FingAgent(ip='your_agent_ip', port=49090, key='your_api_key')
# Get devices
devices = await agent.get_devices()
# Get contacts (only available for desktops)
contacts = await agent.get_contacts()
# Get agent (only available for fingboxes and agents)
agent_info = await agent.get_agent_info()
if __name__ == "__main__":
asyncio.run(main())
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
fing_agent_api-1.1.0.tar.gz
(9.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fing_agent_api-1.1.0.tar.gz.
File metadata
- Download URL: fing_agent_api-1.1.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5914c0ef051903ffb18ad5d2e87fa95ecb2b5e6a5191af396b5e4ba7fb70452a
|
|
| MD5 |
6a8c2f4cc2356740f164a37b410fc54c
|
|
| BLAKE2b-256 |
babef5ef618aefde811ccc9f6f93c5061bdcc561c578831570dfb7852bfa0a44
|
File details
Details for the file fing_agent_api-1.1.0-py3-none-any.whl.
File metadata
- Download URL: fing_agent_api-1.1.0-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cd57c73f6de5a9b364fd80c03227b0b1f0b7bf348f130af44a66a49d40b1d2d
|
|
| MD5 |
1cc6d49641287b52a7105964779e19ce
|
|
| BLAKE2b-256 |
07d1fa04f617d54f20535ab8e6a5c81670bdadb568195e0283a12fac01b587d5
|