问题
i am using YouTube API but first, I need the credential file which is your_client_secret_File.json. By following this tutorial https://developers.google.com/youtube/analytics/reference/reports/query in python section. I could not find the (Download Json) as they said.
回答1:
Where to download this JSON file is explicitly stated in the instructions.
Go to your Google API Console where you'll login using your Gmail account.
Head to Credentials to create an OAuth Client ID of type Other. https://developers.google.com/youtube/analytics/reference/reports/query
Credentials page looks like this:
Select OAuth client ID and choose Other:
After creating it, it'll appear on your list of credentials:
You can DOWNLOAD it by clicking the 'DOWN' arrow on the farthest right of the page:
来源:https://stackoverflow.com/questions/52200589/where-to-download-your-client-secret-file-json-file