Commit Graph

42 Commits

Author SHA1 Message Date
Karl Moos
9218ff1549 Add pieces to allow PyPi package publish 2020-10-25 07:24:43 -05:00
Alano Terblanche
038f6a823f Merge pull request #16 from themoosman/moos-add-ptz
Add PTZ Functionality
2020-10-20 15:30:08 +02:00
Karl Moos
aa14b601f5 Add requirement file, docs, updates to complete PTZ 2020-10-18 11:17:05 -05:00
Karl Moos
9b5849988d Add PTZ function 2020-10-18 08:50:16 -05:00
Alano Terblanche
d84ec91df4 Merge pull request #13 from burrscurr/master
Implement calls for zooming and focusing
2020-03-07 12:56:38 +02:00
Max Ziermann
eeb6189f7d Add focusing API calls 2020-03-06 22:38:25 +01:00
Max Ziermann
6506bf2cbc Make internal methods more generic 2020-03-06 22:35:40 +01:00
Max Ziermann
8506e3a294 Add zoom commands 2020-03-06 22:26:25 +01:00
Max Ziermann
da46f0efca Add dependencies for RtspClient 2020-03-06 22:18:13 +01:00
Max Ziermann
5dfe2a6079 Merge branch 'Benehiko-master' 2020-03-06 22:11:34 +01:00
Alano Terblanche
2124725678 Merge branch 'refactoring' 2020-03-06 22:32:23 +02:00
Max Ziermann
8693daa6ea Fix response value check
These commands were not implemented like this before. At least on the
camera i used for testing (RLC-411) the return value was always a list
and the status code is an int.
2020-03-06 20:18:08 +01:00
Max Ziermann
b3e6b80cac Remove default proxy 2020-03-06 18:07:54 +01:00
Max Ziermann
28c6f3f2a1 Split APIHandler into single files 2020-03-06 17:50:07 +01:00
Max Ziermann
5c0622d669 Move APIHandler to a package 2020-03-06 16:52:19 +01:00
Alano Terblanche
49c670b0cb Merge pull request #11 from burrscurr/pipenv
Add Pipenv dependency management
2020-03-04 17:49:45 +02:00
Max Ziermann
17fb46f73a Fix return value hints
None is never returned, its just possible that a exception is raised.
2020-03-04 13:09:58 +01:00
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