# 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": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "API,Victor Smart-Kill,VictorPest.com,trap",
"author": "Tore Amundsen",
"author_email": "tore@amundsen.org",
"download_url": "https://files.pythonhosted.org/packages/82/81/e9cde11906308288f06a2e4026748fe6061245c43a25d3404b84db4f7fac/victor_smart_kill-1.1.1.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": "",
"summary": "A simple unofficial async Python wrapper for Victor Smart-Kill API.",
"version": "1.1.1",
"split_keywords": [
"api",
"victor smart-kill",
"victorpest.com",
"trap"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "864c0c57637fe3d1c345726421184706224008025ae2a49bd3443990bbd97a65",
"md5": "b5364d808b4ad1e8eb47d18c2cb4be43",
"sha256": "a2f31e76d4ebbd97f9e8c897e638fbaaf444f44c8af085b4aa1b9c2843f2d74b"
},
"downloads": -1,
"filename": "victor_smart_kill-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b5364d808b4ad1e8eb47d18c2cb4be43",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 7909,
"upload_time": "2023-01-29T23:47:42",
"upload_time_iso_8601": "2023-01-29T23:47:42.903162Z",
"url": "https://files.pythonhosted.org/packages/86/4c/0c57637fe3d1c345726421184706224008025ae2a49bd3443990bbd97a65/victor_smart_kill-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8281e9cde11906308288f06a2e4026748fe6061245c43a25d3404b84db4f7fac",
"md5": "b8e5094cd1cecffb213855682d223903",
"sha256": "ea3fd11cb50afd4fe983a40b30aac3773cbe3b93a68f76074904387f7321034c"
},
"downloads": -1,
"filename": "victor_smart_kill-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "b8e5094cd1cecffb213855682d223903",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 7287,
"upload_time": "2023-01-29T23:47:44",
"upload_time_iso_8601": "2023-01-29T23:47:44.431958Z",
"url": "https://files.pythonhosted.org/packages/82/81/e9cde11906308288f06a2e4026748fe6061245c43a25d3404b84db4f7fac/victor_smart_kill-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-29 23:47:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "toreamun",
"github_project": "victor-smart-kill",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "victor-smart-kill"
}