How to download a YouTube video using the YouTube’s API
Downloading Youtube videos is against their Terms of Service, so their API’s will not support that. Page linked above refers to Youtube ToS that states: You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content.