fetch camera snapshots from synology dsm api
# pseudocode # login and get _sid curl -k 'https://nvr:port/webapi/auth.cgi?api=SYNO.API.Auth&method=login&version=3&account=username&passwd=password;session=SurveillanceStation&format=sid' # list cameras curl -k 'https://nvr:port/webapi/entry.cgi?version=9&_sid=$_sid&method=%22List%22&privCamType=1&camStm=0&api=%22SYNO.SurveillanceStation.Camera%22' # snapshot the cam to file curl -k 'https://nvr:port/webapi/entry.cgi?version=9&id=$camid&api=%22SYNO.SurveillanceStation.Camera%22&method=%22GetSnapshot%22&profileType=0&_sid=$_sid'