# Victor Smart-Kill
Status and history of Victor Smart-Kill WI-FI electronic mouse and rat traps from VictorPest.com can be accessed with this async Python wrapper module. The wrapper uses the same API as the Victor Pest APP.
[![License][license-shield]](LICENSE)
[![BuyMeCoffee][buymecoffeebadge]][buymecoffee]
## Getting started
This example gets a list of trap information and trap history for the first trap:
```python
from victor_smart_kill import VictorApi, VictorAsyncClient
async with VictorAsyncClient("username", "password") as client:
api = VictorApi(client)
traps = await api.get_traps()
history = await api.get_trap_history(traps[0].id)
```
[buymecoffee]: https://www.buymeacoffee.com/toreamun
[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg
[license-shield]: https://img.shields.io/github/license/toreamun/victor-smart-kill
## API list methods
- get_activity_logs()
- get_mobile_apps()
- get_operators()
- get_profiles()
- get_traps()
- get_trap_history()
- get_users()
## Single item methods.
Each list method usually has corresponding metods to get a single item by id and/or url. You can find the id or url in the result from list mehods.
Raw data
{
"_id": null,
"home_page": "https://github.com/toreamun/victor-smart-kill",
"name": "victor-smart-kill",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "API, Victor Smart-Kill, VictorPest.com, trap",
"author": "Tore Amundsen",
"author_email": "tore@amundsen.org",
"download_url": "https://files.pythonhosted.org/packages/6d/f5/f18b42343d0449c6dd531f97f79436ca289b0d26ea992e6fd90981db4341/victor_smart_kill-1.1.2.tar.gz",
"platform": null,
"description": "# Victor Smart-Kill\n\nStatus and history of Victor Smart-Kill WI-FI electronic mouse and rat traps from VictorPest.com can be accessed with this async Python wrapper module. The wrapper uses the same API as the Victor Pest APP.\n\n[![License][license-shield]](LICENSE)\n[![BuyMeCoffee][buymecoffeebadge]][buymecoffee]\n\n## Getting started\n\nThis example gets a list of trap information and trap history for the first trap:\n\n```python\nfrom victor_smart_kill import VictorApi, VictorAsyncClient\n\nasync with VictorAsyncClient(\"username\", \"password\") as client:\n api = VictorApi(client)\n traps = await api.get_traps()\n history = await api.get_trap_history(traps[0].id)\n```\n\n[buymecoffee]: https://www.buymeacoffee.com/toreamun\n[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\n[license-shield]: https://img.shields.io/github/license/toreamun/victor-smart-kill\n\n## API list methods\n\n- get_activity_logs()\n- get_mobile_apps()\n- get_operators()\n- get_profiles()\n- get_traps()\n- get_trap_history()\n- get_users()\n\n## Single item methods.\n\nEach list method usually has corresponding metods to get a single item by id and/or url. You can find the id or url in the result from list mehods.\n",
"bugtrack_url": null,
"license": null,
"summary": "A simple unofficial async Python wrapper for Victor Smart-Kill API.",
"version": "1.1.2",
"project_urls": {
"Homepage": "https://github.com/toreamun/victor-smart-kill"
},
"split_keywords": [
"api",
" victor smart-kill",
" victorpest.com",
" trap"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a32fbe7dc3cb5eed6ec76a14b93184dfba66dd9566fb7cf180746399c9733530",
"md5": "865e3b838acdbb0b3d26581b6d0530bb",
"sha256": "c56e3fcd78b5af862ab1ba4ef9d0542647f5ffbed5e752dcb10f0cee0fb66df3"
},
"downloads": -1,
"filename": "victor_smart_kill-1.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "865e3b838acdbb0b3d26581b6d0530bb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 7962,
"upload_time": "2025-01-02T18:55:24",
"upload_time_iso_8601": "2025-01-02T18:55:24.960871Z",
"url": "https://files.pythonhosted.org/packages/a3/2f/be7dc3cb5eed6ec76a14b93184dfba66dd9566fb7cf180746399c9733530/victor_smart_kill-1.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6df5f18b42343d0449c6dd531f97f79436ca289b0d26ea992e6fd90981db4341",
"md5": "e9e79366341b479c01acee0592c7657b",
"sha256": "cfd72a0fff0c0f05df16859bf3db4a3d61ace58de4e60451e24535f7569d5728"
},
"downloads": -1,
"filename": "victor_smart_kill-1.1.2.tar.gz",
"has_sig": false,
"md5_digest": "e9e79366341b479c01acee0592c7657b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 9433,
"upload_time": "2025-01-02T18:55:27",
"upload_time_iso_8601": "2025-01-02T18:55:27.048803Z",
"url": "https://files.pythonhosted.org/packages/6d/f5/f18b42343d0449c6dd531f97f79436ca289b0d26ea992e6fd90981db4341/victor_smart_kill-1.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-02 18:55:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "toreamun",
"github_project": "victor-smart-kill",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "httpx",
"specs": [
[
"~=",
"0.20"
]
]
},
{
"name": "marshmallow",
"specs": [
[
"~=",
"3.8"
]
]
},
{
"name": "marshmallow-dataclass",
"specs": [
[
"~=",
"8.1"
]
]
},
{
"name": "pydocstyle",
"specs": []
},
{
"name": "python-dateutil",
"specs": []
},
{
"name": "flake8",
"specs": []
},
{
"name": "flake8-black",
"specs": []
},
{
"name": "black",
"specs": []
},
{
"name": "pylint",
"specs": []
},
{
"name": "pytest-asyncio",
"specs": []
},
{
"name": "mypy",
"specs": []
}
],
"lcname": "victor-smart-kill"
}