Skip to content

Conversation

@oboratav
Copy link

Added the ability to use the new MV endpoint that was revealed about a week ago by GeorgeB on the community forums (link below)

https://community.meraki.com/t5/Solutions-APIs/New-MV-API-Returns-video-link-for-the-specified-camera/m-p/27916#M624

result = __returnhandler(dashboard.status_code, dashboard.text, calltype, suppressprint)
return result

def get_video_link(apikey, serial, timestamp=None, suppressprint=False):
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function was named according to PEP-8, which prefers words separated by underscores. It does look a bit different when compared to the other functions throughout the rest of the module, however I think this is far easier to read. Should we keep it as it is, or change it to something like getvideolink() to match the rest of the module?

Copy link

@cemersoz cemersoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extends functionality in a meaningful way and fits all style standards as far as I can tell. I'd love this functionality in the official repo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants