{"id":17954429,"url":"https://github.com/sayanarijit/python-zenoss-client","last_synced_at":"2025-03-25T00:31:59.255Z","repository":{"id":48688480,"uuid":"123089906","full_name":"sayanarijit/python-zenoss-client","owner":"sayanarijit","description":"Zenoss API client for python","archived":false,"fork":false,"pushed_at":"2023-05-23T02:03:47.000Z","size":13,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T05:55:53.023Z","etag":null,"topics":["json-api","zenoss","zenoss-api"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sayanarijit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-27T07:23:45.000Z","updated_at":"2021-07-14T06:00:49.000Z","dependencies_parsed_at":"2024-10-29T10:38:01.198Z","dependency_job_id":null,"html_url":"https://github.com/sayanarijit/python-zenoss-client","commit_stats":{"total_commits":15,"total_committers":4,"mean_commits":3.75,"dds":0.6,"last_synced_commit":"59615091780d11aa8a568414911bfa223cf1b151"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayanarijit%2Fpython-zenoss-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayanarijit%2Fpython-zenoss-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayanarijit%2Fpython-zenoss-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayanarijit%2Fpython-zenoss-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sayanarijit","download_url":"https://codeload.github.com/sayanarijit/python-zenoss-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245377921,"owners_count":20605374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["json-api","zenoss","zenoss-api"],"created_at":"2024-10-29T10:16:26.472Z","updated_at":"2025-03-25T00:31:58.799Z","avatar_url":"https://github.com/sayanarijit.png","language":"Python","readme":"# python-zenoss-client\n\n[![PyPI version](https://img.shields.io/pypi/v/python-zenoss-client.svg)](https://pypi.python.org/pypi/python-zenoss-client)\n[![Build Status](https://travis-ci.org/sayanarijit/python-zenoss-client.svg?branch=master)](https://travis-ci.org/sayanarijit/python-zenoss-client)\n\nZenoss API client for python\n\n\n### Installation\n\n```bash\npip install python-zenoss-client\n```\n\n### Usage\n\n* Connect\n\n```python\nfrom zenoss_client import ZenossClient\n\napi = ZenossClient(host=\"localhost\", user=\"zenuser\", passwd=\"*****\")\n```\n\n* API call: The long way\n\n```python\nendpoint = api.endpoint('device_router')\naction = endpoint.action('DeviceRouter')\nmethod = action.method('getDevices')\n\nmethod(params={'name': 'testdevice'})\n```\n\n* API call: The sorter way\n\n```python\napi.endpoint('device_router').action('DeviceRouter').method('getDevices')(params={'name': 'testdevice'})\n```\n\n* API call: The sortest way\n\n```python\napi.device_router.DeviceRouter.getDevices(params={'name': 'testdevice'})\n```\n\n* With timeout\n\n```python\napi.device_router.DeviceRouter.getDevices(params={'name': 'testdevice'}, timeout=10)\n```\n\n### Documentation\n\nThis module is inspired by [json_api.sh](http://wiki.zenoss.org/Working_with_the_JSON_API#v5_version_of_the_json_api.sh) SHELL script published on [zenoss official wiki](http://wiki.zenoss.org)\n\nFor full documentation of zenoss API, kindly refer to the link below:\n### [zenoss official documentation](https://www.zenoss.com/services-support/documentation/zenoss-json-api-0)\n\n* Conventional naming of routers\n```\nProducts.Zuul.routers.device -\u003e device_router\nProducts.Zuul.routers.users -\u003e users_router\nProducts.Zuul.routers.triggers -\u003e triggers_router\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayanarijit%2Fpython-zenoss-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsayanarijit%2Fpython-zenoss-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayanarijit%2Fpython-zenoss-client/lists"}