nullscreen / yt

The reliable YouTube API Ruby client
MIT License
738 stars 159 forks source link

Added support for showing processing details to videos #406

Closed deanpcmad closed 3 years ago

deanpcmad commented 3 years ago

For a project I'm working on, I need access to see if a video has been processed by YouTube. YouTube has this in their API but this currently wasn't part of the gem so this pull request adds a very basic version of it and passes through the processing_status attribute.

Here are the API docs for the processingDetails part - https://developers.google.com/youtube/v3/docs/videos#processingDetails

I'd like to also have access to the processingProgress part too but I wasn't too sure how to add this so I'd appreciate some help in adding this too! :smile:

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.08%) to 93.846% when pulling aa1c848ffe176a1a7bfde1c510fdd5458bd74c26 on deanpcmad:master into 126b1fe3d81afb7e880d4339470e106f3f0bceee on Fullscreen:master.