Reolink Camera API written in Python 3.6
Project description
ReolinkCameraAPI
Join us on Discord
https://discord.gg/8z3fdAmZJP
Purpose
This repository's purpose is to deliver a complete API for the Reolink Camera's, ( TESTED on RLC-411WS )
But Reolink gives an API in their documentation
Not really. They only deliver a really basic API to retrieve Image data and Video data.
How?
You can get the Restful API calls by looking through the HTTP Requests made the camera web console. I use Google Chrome developer mode (ctr + shift + i) -> Network.
Get started
Implement a "Camera" object by passing it an IP address, Username and Password. By instantiating the object, it will try retrieve a login token from the Reolink Camera. This token is necessary to interact with the Camera using other commands.
Using the library as a Python Module
Install the package via Pip
pip install reolink-api==0.0.1
Styling and Standards
This project intends to stick with PEP8
API Requests Implementation Plan:
GET:
- Login
- Logout
- Display -> OSD
- Recording -> Encode (Clear and Fluent Stream)
- Recording -> Advance (Scheduling)
- Network -> General
- Network -> Advanced
- Network -> DDNS
- Network -> NTP
- Network -> E-mail
- Network -> FTP
- Network -> Push
- Network -> WIFI
- Alarm -> Motion
- System -> General
- System -> DST
- System -> Information
- System -> Maintenance
- System -> Performance
- System -> Reboot
- User -> Online User
- User -> Add User
- User -> Manage User
- Device -> HDD/SD Card
- Zoom
- Focus
- Image (Brightness, Contrast, Saturation, Hue, Sharp, Mirror, Rotate)
- Advanced Image (Anti-flicker, Exposure, White Balance, DayNight, Backlight, LED light, 3D-NR)
- Image Data -> "Snap" Frame from Video Stream
SET:
- Display -> OSD
- Recording -> Encode (Clear and Fluent Stream)
- Recording -> Advance (Scheduling)
- Network -> General
- Network -> Advanced
- Network -> DDNS
- Network -> NTP
- Network -> E-mail
- Network -> FTP
- Network -> Push
- Network -> WIFI
- Alarm -> Motion
- System -> General
- System -> DST
- System -> Reboot
- User -> Online User
- User -> Add User
- User -> Manage User
- Device -> HDD/SD Card (Format)
- PTZ
- Zoom
- Focus
- Image (Brightness, Contrast, Saturation, Hue, Sharp, Mirror, Rotate)
- Advanced Image (Anti-flicker, Exposure, White Balance, DayNight, Backlight, LED light, 3D-NR)
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
Built Distribution
File details
Details for the file reolink-api-0.0.5.tar.gz
.
File metadata
- Download URL: reolink-api-0.0.5.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d191f4445cc0bb8311856becf8a6166acc2a33c76c68798f9e86129969b254d |
|
MD5 | 5b5fb71264b0899faea8a34a4ee308f9 |
|
BLAKE2b-256 | 084a7f209b836acb71c12a6696578b22b0ff5bd204ab0eb6bd9e0b8d23063bba |
File details
Details for the file reolink_api-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: reolink_api-0.0.5-py3-none-any.whl
- Upload date:
- Size: 27.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fd47aa71b038bdd26f99896128460c10b41d2767e036b7eeb46af72e2733353 |
|
MD5 | 57f2370301f29e2ea25eb224c8f034a5 |
|
BLAKE2b-256 | 823445178febf981a70d7f8eb1f7d8df852dfdb732a76f84db583988956cc478 |