{"id":16573539,"url":"https://github.com/v2e4lisp/zabbix-api","last_synced_at":"2025-04-04T22:23:11.370Z","repository":{"id":57405091,"uuid":"12425982","full_name":"v2e4lisp/zabbix-api","owner":"v2e4lisp","description":"zabbix api js wrapper.","archived":false,"fork":false,"pushed_at":"2013-08-28T15:48:35.000Z","size":136,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T01:35:24.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/v2e4lisp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-28T06:06:55.000Z","updated_at":"2018-11-02T15:16:43.000Z","dependencies_parsed_at":"2022-09-16T08:40:39.144Z","dependency_job_id":null,"html_url":"https://github.com/v2e4lisp/zabbix-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Fzabbix-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Fzabbix-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Fzabbix-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v2e4lisp%2Fzabbix-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v2e4lisp","download_url":"https://codeload.github.com/v2e4lisp/zabbix-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256805,"owners_count":20909361,"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":[],"created_at":"2024-10-11T21:42:27.877Z","updated_at":"2025-04-04T22:23:11.347Z","avatar_url":"https://github.com/v2e4lisp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zabbix-api\nSimple Zabbix API wrapper for node.js.\n\n## Install\n```bash\nnpm install zabbix-api\n```\n\n## Usage and API\n```javascript\nvar Zabbix = require('zabbix-api');\nvar zbx = new Zabbix(user, password, api_url);\n\n// You don't have to do login yourself. `request` method will keep you authenticated.\n// `output` default is `extend`\n// `res` is an JS object, `result` property from zabbix response.\nzbx.request('hostgroup.get', {hostids: 1}, function (err, res) {\n  if (err) {\n    console.log(err.message);\n  } else {\n    console.log(res.hostid);\n    console.log(res.name);\n  }\n});\n\n\n// Acturally there is another api method but I don't really think you'll need that.\n// In case that you may want to just test if the user/password is valid ,`login` is for this.\nzbx.login(function (err, auth_token) {\n  err || console.log(auth_token);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv2e4lisp%2Fzabbix-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv2e4lisp%2Fzabbix-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv2e4lisp%2Fzabbix-api/lists"}