Skip to main content

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 fingagent import FingAgent
import asyncio

async def main():
    # Configure the Fing agent
    agent = FingAgent(ip='your_agent_ip', port=49090, key='your_api_key')
    
    # Get and print devices
    devices = await agent.get_devices()
    print("Devices:", devices)
    
    # Get and print contacts
    contacts = await agent.get_contacts()
    print("Contacts:", contacts)

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.0.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

fing_agent_api-1.0.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file fing_agent_api-1.0.0.tar.gz.

File metadata

  • Download URL: fing_agent_api-1.0.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for fing_agent_api-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f6d065dc892278bf75c3557be86a430c94b0241fa97db336b0f05e6e0aeb4848
MD5 8d5c76ddff63e63eb649c9b0333ea836
BLAKE2b-256 c615d7021d30d50c993eb442fcf5ede6151197986c25898d57ee6b0b617447b7

See more details on using hashes here.

File details

Details for the file fing_agent_api-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fing_agent_api-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d123076729e08ae9dbaa8d079891733dc67351130fb85ef61e13b9031ab3cc69
MD5 40fc4b31f3150ef646daa5691e4503c9
BLAKE2b-256 c9d164eadc9476d173488b412611f6e53d49b0abc3512ce86dfa369ad00aefdb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page