Max Ziermann
3f6e0b2b7e
Move response examples in pretty-formatted single files
2020-03-04 13:02:18 +01:00
Max Ziermann
c321333b10
Implement multi-step commands using generic method
2020-03-04 12:44:54 +01:00
Max Ziermann
7761ca7c16
Use build-in json decoding of requests
...
See https://2.python-requests.org/en/master/user/quickstart/#json-response-content
2020-03-04 12:35:41 +01:00
Max Ziermann
6548040810
Add option for multi-step commands
...
This option allows to send multi-step commands. These commands have
no 'cmd' URL parameter.
2020-03-04 12:32:40 +01:00
Max Ziermann
7512ce40ea
Remove unusable code
...
Since the Request class catches/re-raises every errors (including
http non-200 status codes) some lines could never be reached. Some
of these lines were already removed in the previous commit.
2020-03-04 12:28:04 +01:00
Max Ziermann
5d4a38f9a2
Refactor simple commands
2020-03-03 15:54:08 +01:00
Max Ziermann
f34c6a1a1e
Remove unused imports
2020-03-03 15:02:05 +01:00
Max Ziermann
7c0e9d164d
Use pipenv for dependency management
2020-03-03 15:01:24 +01:00
Alano Terblanche
a2c44f89de
Merge pull request #5 from themoosman/master
...
Add System->Reboot
2019-10-07 22:21:27 +02:00
Karl Moos
577dcadc68
Add System->Reboot
2019-10-07 12:21:59 -05:00
Alano Terblanche
24fb7d2756
Merge pull request #2 from Benehiko/dev-1.0
...
Update Master with new APIs
2019-09-15 22:36:17 +02:00
Alano Terblanche
020b7903ae
Merge branch 'master' into dev-1.0
2019-09-15 22:35:58 +02:00
Alano Terblanche
c4600134b5
Updating dev-1.0.
2019-09-15 22:29:42 +02:00
Alano Terblanche
c9746c7a33
Merge pull request #1 from davidjb/https
...
Allow API connection over HTTPS
2019-09-15 22:12:51 +02:00
David Beitey
1f5944801c
Allow API connection over HTTPS
2019-09-15 11:11:21 +10:00
Alano Terblanche
475c72b241
Added proxy support. Bug fixes in APIHandler. RTSP support (adding)
...
Proxy support allows contacting the camera behind a proxy (GET and POST requests).
Adding RTSP support - still in progress.
2019-08-11 21:06:21 +02:00
Alano Terblanche
5bc90f7c60
Added some API's and Doc strings
...
OSD -> set and get
System -> get_performance, get_information
Recording -> get
2019-08-11 15:35:52 +02:00
Alano Terblanche
2722a80922
Added some doc strings to User management and HDD api
2019-08-11 13:45:51 +02:00
Alano Terblanche
f23c5e8c29
Added User management and osd
2019-08-11 13:24:35 +02:00
Alano Terblanche
4ebc0a2c97
Update README.md
2019-08-11 11:24:02 +02:00
Alano Terblanche
696b3ac58f
Camera class updated
2019-08-10 21:48:47 +02:00
Alano Terblanche
e7cdd19dfe
Small changes and Snap Frame addition.
...
Snap allows for the retrieval of a single frame from the current Camera video stream.
PEP8 standard implemented.
2019-08-10 21:47:57 +02:00
Alano Terblanche
28a361b44d
Update README.md
2019-01-01 01:18:47 +02:00
Alano Terblanche
8b100dc4cd
Some API's added
...
API's added:
- Network (get and add).
- Login (token)
- General System (only get info)
- Wifi (set, scan, get)
2019-01-01 00:58:54 +02:00
Alano Terblanche
5b31de25c4
Initial commit
2019-01-01 00:57:12 +02:00