Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 1.06 KB

Youtube_API_videos.md

File metadata and controls

14 lines (12 loc) · 1.06 KB

Below are steps for Getting auth tokens for Youtube Videos API.

  • Create a google account for developement
  • Create a new project first from developers console if there is no existing project
  • Go to API explorer from developers console and enable "YouTube Data API v3"
  • Authenticate first from "OAuth consent screen" configuration from left side of console
  • Then come to "credentials" , create credentials by selecting "OAuth client ID " , then download the client secrets file and copy the API key and keep it safe.
  • Here we are using Google-Oauthlib-flow library for making authorization flow easier.
  • In this automation, we need to know that CMD is very important as we have to copy the token granted by google OAuth to the terminal.

Note : This specific automation also need Web automation , so be sure to download chrome driver and selenium , info of which is given in the script itself.

Getting troubleshoot help
For more help, API docs