tchellomello / python-amcrest

A Python 2.7/3.x module for Amcrest and Dahua Cameras using the SDK HTTP API.
GNU General Public License v2.0
216 stars 76 forks source link

Add more type information #179

Closed flacjacket closed 3 years ago

flacjacket commented 3 years ago

Add some additional type information to some of the functions. Fix a couple minor issues found along the way, including calling .lower() on function parameters on add_user that default to boolean values (should continue to work when passed strings, as is likely happening by current users), and set explicit error handling when required arguments to audio_send_stream aren't set.