The client for HIKVISION cameras, DVR
Project description
Simple and easy to use library for working with video equipment companies Hikvision
Examples
from hikvision import Client
api = Client('http://192.168.0.2', 'admin', 'admin')
response = api.System.deviceInfo(method='get', json=True)
response = {
"DeviceInfo": {
"@version": "1.0", "@xmlns": "http://www.hikvision.com/ver20/XMLSchema",
"deviceName": "HIKVISION"
}
You can get response as text:
response = api.System.deviceInfo(method='get', json=False)
response = '<?xml version="1.0" encoding="UTF-8" ?>
<DeviceInfo version="1.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<deviceName>HIKVISION</deviceName>
</DeviceInfo>'
More examples:
xml = api.System.deviceInfo(method='get', json=False)
api.System.deviceInfo(method='put', data=xml, json=False)
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
hikvisionapi-0.1.4.tar.gz
(3.5 kB
view details)
File details
Details for the file hikvisionapi-0.1.4.tar.gz.
File metadata
- Download URL: hikvisionapi-0.1.4.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae3cf4f5ea589a94a653f9376048fae36bbb44ce031688e475f224e54660030c
|
|
| MD5 |
887175e60a1d482fdc2ca15ab501ff9b
|
|
| BLAKE2b-256 |
c7f864f0db73c7abda9efd1bb178041a2c6eadb7da24aa016b8fa3cfe9148940
|