Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

draft PR for supporting ircut get/set and genericizing service call #68

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jeyrb
Copy link
Contributor

@jeyrb jeyrb commented Nov 21, 2020

This is working on my hik camera now.

Rather than clone all the existing code for get and put, I've refactored a new method that will make any http call. It can also make a PUT request using XML from a previous GET request and overriding based on keyword args, so very easy to create new PUT calls ( so long as still able to find an ISAPI doc pdf!)

If you like this, don't merge but let me know. I'll add tests, and refactor the existing get/put to use the new call_service

@mezz64
Copy link
Owner

mezz64 commented Dec 1, 2020

I'm opening to making a change like this. My main concern is covering the edge cases though. There have been quite a few tweaks included here and there to work with different camera behavior and I would want to make sure those are retained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants