Reputation: 35
I'm trying to use the Google Calendar API
https://developers.google.com/calendar/quickstart/python
But when I try and create credentials, there's no option to download the associated json file:
How do I get my hands on the credentials.json
?
Upvotes: 0
Views: 1595
Reputation: 201553
How about this answer?
I think that from your image, you are trying to retrieve the file from API key. When you want to use the JSON file of the credential at the Quickstart, please retrieve the file from "OAuth 2.0 client IDs". The flow for retrieving it is as follows.
Select "OAuth client ID" at "Create credentials".
Select "Other" as "Application type", and input name. Then, click "Create". I think that you can also use "Web application".
By this flow, you can see the download button as follows. When you click the button, you can download the credential file. This can be used for the Quickstart script.
If this was not what you want, I apologize.
Upvotes: 1