Skip to main content

The client for HIKVISION cameras, DVR

Project description

LIbrary for Hikvision Cameras
===================


Simple and easy to use library for working with video equipment companies Hikvision

----------

Install
-------------

```
pip install hikvisionapi
```

Example
-------------


```python
from hikvisionapi import client

api = Client('http://192.168.0.2', 'admin', 'admin')
response = api.System.deviceInfo(method='get', json=True)
```

```json
response = {
"DeviceInfo": {
"@version": "1.0", "@xmlns": "http://www.hikvision.com/ver20/XMLSchema",
"deviceName": "HIKVISION"
}
```
You can get responseras text:

```python
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:

```python
xml = api.System.deviceInfo(method='get', json=False)
api.System.deviceInfo(method='put', data=xml, json=False)
```

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

hikvisionapi-0.1.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file hikvisionapi-0.1.tar.gz.

File metadata

  • Download URL: hikvisionapi-0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hikvisionapi-0.1.tar.gz
Algorithm Hash digest
SHA256 78193b404960d53bff25a9c8ac78e363da83f6bd1b3d2d49612772ab3ac8ab0f
MD5 efad3bf05292d1efabcd558e8b852820
BLAKE2b-256 7be2dc2a1ed19f4c44ee3f61b7133e128564914df8f5717dc62272de8475e557

See more details on using hashes here.

Supported by

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