Reolink api v7
I'll be slowly working on this as I need it. https://www.reddit.com/r/reolinkcam/comments/xpcxq6/reolink_camera_api_user_guide_v7_update_in_sept/
Please consider merging, or telling me what to improve so my work can be merged.
Have a great day!
I think I did conversions to int() because of a bug I ran into.
I forget.
I'm happy to make those changes though.
It's worth noting this doesn't support all of v7, just the parts I needed.
If you think that's fine, I'm willing to apply the requested changes and see what happens.
I think I did conversions to
int()because of a bug I ran into.I forget.
I'm happy to make those changes though.
It's worth noting this doesn't support all of v7, just the parts I needed.
If you think that's fine, I'm willing to apply the requested changes and see what happens.
Yes, could you verify that there is indeed an error if you do not convert to int?
Also please update the PR title using conventional commits as it is good practice and be more specific than api v7.
To me this is more of a cleanup of some of the function parameter types and also you fix the modify user function to accept the old password. Here is an example: fix: cleanup function parameter types to conform to api v7 specs
https://www.conventionalcommits.org/en/v1.0.0/#summary
I'm still going to update this
Please note the PR title is disconnected from the commits, which are correctly named. The PR title you can edit to describe as you like.
Yeah I tested and for some reason the bool didn't seem to convert to 1?
Yeah I tested and for some reason the bool didn't seem to convert to
1?
How did you test it? A simple cast in Python can convert a bool to an int.
a = True
b = int(a)
print(b)