Skip to main content

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.

License BuyMeCoffee

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

victor_smart_kill-1.1.2.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

victor_smart_kill-1.1.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file victor_smart_kill-1.1.2.tar.gz.

File metadata

  • Download URL: victor_smart_kill-1.1.2.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for victor_smart_kill-1.1.2.tar.gz
Algorithm Hash digest
SHA256 cfd72a0fff0c0f05df16859bf3db4a3d61ace58de4e60451e24535f7569d5728
MD5 e9e79366341b479c01acee0592c7657b
BLAKE2b-256 6df5f18b42343d0449c6dd531f97f79436ca289b0d26ea992e6fd90981db4341

See more details on using hashes here.

File details

Details for the file victor_smart_kill-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for victor_smart_kill-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c56e3fcd78b5af862ab1ba4ef9d0542647f5ffbed5e752dcb10f0cee0fb66df3
MD5 865e3b838acdbb0b3d26581b6d0530bb
BLAKE2b-256 a32fbe7dc3cb5eed6ec76a14b93184dfba66dd9566fb7cf180746399c9733530

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page