title: How to get list of subscribers of any channel(not only mine) using youtube api with python?
body: <p>I am trying to get list subscribers of any channel using youtube api using python. But i am getting issue when i run my code it asks me to enter authorisation code and i do not know what it is. I have also enabled oath api. see my code below
  import os</p>
  <pre><code>from google_auth_oauthlib.flow import InstalledAppFlow
  from google.auth.transport.requests import Request
  from googleapiclient.discovery import build
  import googleapiclient.errors
  
  flow = InstalledAppFlow.from_client_secrets_file(&quot;client_secrets.json&quot;, 
                              scopes=[&quot;https://www.googleapis.com/auth/youtube.readonly&quot;])
  flow.run_local_server(port=8080, prompt=&quot;consent&quot;)
  credentials = flow.run_console()
  youtube = build(&quot;youtube&quot;, &quot;v3&quot;, credentials=credentials)
  request = youtube.subscriptions.list(
          part=&quot;snippet,contentDetails&quot;,
          channelId=&quot;UC_x5XG1OV2P6uZZ5FSM9Ttw&quot;
  )
  response = request.execute()
  print(response)
  </code></pre>
  <p>is there any way to do so?</p>