function zoomapi_api_get_user_recordings in Zoom API 7.2
Get User Recordings.
1 call to zoomapi_api_get_user_recordings()
- zoomapi_get_user_recordings in ./
zoomapi.module - Get User Recordings.
File
- ./
zoomapi.api.inc, line 247 - API callbacks for Zoom API module.
Code
function zoomapi_api_get_user_recordings($zoom_user_id) {
try {
$zoom_client = zoomapi_client();
$params = [
'user_id' => $zoom_user_id,
];
$recordings = $zoom_client
->recordings()
->fetchAll($params);
return $recordings;
} catch (\Exception $e) {
watchdog(__FUNCTION__, 'Unable to get recordings for Zoom account @id. Error: @e', [
'@e' => $e
->getMessage(),
'@id' => $zoom_user_id,
], WATCHDOG_CRITICAL);
return FALSE;
}
}