A simple unofficial async Python wrapper for Victor Smart-Kill API.
Project description
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.
Getting started
This example gets a list of trap information and trap history for the first trap:
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)
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file victor_smart_kill-1.1.1.tar.gz
.
File metadata
- Download URL: victor_smart_kill-1.1.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea3fd11cb50afd4fe983a40b30aac3773cbe3b93a68f76074904387f7321034c |
|
MD5 | b8e5094cd1cecffb213855682d223903 |
|
BLAKE2b-256 | 8281e9cde11906308288f06a2e4026748fe6061245c43a25d3404b84db4f7fac |
File details
Details for the file victor_smart_kill-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: victor_smart_kill-1.1.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f31e76d4ebbd97f9e8c897e638fbaaf444f44c8af085b4aa1b9c2843f2d74b |
|
MD5 | b5364d808b4ad1e8eb47d18c2cb4be43 |
|
BLAKE2b-256 | 864c0c57637fe3d1c345726421184706224008025ae2a49bd3443990bbd97a65 |