Coder Social home page Coder Social logo

Cloud Recordings about pszoom HOT 7 CLOSED

josephmcevoy avatar josephmcevoy commented on July 18, 2024
Cloud Recordings

from pszoom.

Comments (7)

jtwaddlegus avatar jtwaddlegus commented on July 18, 2024

I was able to get what I needed by using Get-ZoomAccountRecordings. Thank you!

from pszoom.

plylechapman avatar plylechapman commented on July 18, 2024

@jtwaddlegus Would you be willing to share your code for downloading the recordings? At first glance I don't see this possible with "Get-ZoomAccountRecordings" natively.

from pszoom.

JosephMcEvoy avatar JosephMcEvoy commented on July 18, 2024

Maybe something like this:
$recordings = Get-ZoomAccountRecordings me -From 2020-01-01 -To 2020-05-04 | select meetings
$downloadURLs = $recordings.psobject.properties.value.recording_files.download_url
$downloadURLs

Then pipe or loop through downloadURLs using invoke-webrequest or Start-BitsTransfer.

from pszoom.

jtwaddlegus avatar jtwaddlegus commented on July 18, 2024

I just did something like this. Just had to start with some date and increment until today...

#get all cloud recordings #Their api function only does 30 days so had to do 30 days at a time..
$dateStart = get-date -Year '2019' -Month '01' -Day '01'
$dateFinalEnd = Get-Date
$dateAdd = 30
$zoomMeetingRecordings = @()

$dateEnd = $dateStart.AddDays($dateAdd)
while($dateEnd -lt $dateFinalEnd.AddDays($dateAdd)){
    $zoomRecordingsReturn = Get-ZoomAccountRecordings -AccountId me -From $dateStart.ToString('yyyy-MM-dd') -To $dateEnd.ToString('yyyy-MM-dd')  -PageSize 300
    $zoomMeetingRecordings += $zoomRecordingsReturn.meetings
    while($zoomRecordingsReturn.next_page_token){
        $zoomRecordingsReturn = Get-ZoomAccountRecordings -AccountId me -From $dateStart.ToString('yyyy-MM-dd') -To $dateEnd.ToString('yyyy-MM-dd') -PageSize 300 -NextPageToken $zoomRecordingsReturn.next_page_token
        $zoomMeetingRecordings += $zoomRecordingsReturn.meetings
    }
    $dateStart = $dateEnd.AddDays(1)
    $dateEnd = $dateEnd.AddDays($dateAdd)
}

#$zoomMeetingRecordings.count

from pszoom.

jtwaddlegus avatar jtwaddlegus commented on July 18, 2024

and like @JosephMcEvoy said just used Start-BitsTransfer to download.

from pszoom.

plylechapman avatar plylechapman commented on July 18, 2024

Awesome, thank you both. One last question -if we had to pass the authorization to download a password-protected recording, can I use Start-BitsTransfer or do I have to do something else? I am trying to do this for thousands of accounts and some will be most certainly password protected.

I see this in the notes:

To access a password protected cloud recording, add an “access_token” parameter to the download URL and provide
JWT as the value of the “access_token”.

from pszoom.

plylechapman avatar plylechapman commented on July 18, 2024

Oh wait, maybe I figured it out - it's just a querystring appended with the actual JWT access token. Nevermind..thanks again!

from pszoom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.