|
1 | 1 | GoogleTaskExport [![Status Aquana][status-aquana]][andivionian-status-classifier] |
2 | 2 | ================ |
3 | 3 |
|
4 | | -This is a program to export the [Google Tasks][google-tasks] data from your Google account to a JSON file, or just print them in the terminal. |
| 4 | +This is a program to export the [Google Tasks][google.tasks] data from your Google account to a JSON file, or just print them in the terminal. |
5 | 5 |
|
6 | 6 | Usage |
7 | 7 | ----- |
8 | 8 |
|
9 | 9 | ### Client Secret |
10 | 10 | To use GoogleTaskExport, you'll have to register an application with Google and obtain a client secret file. |
11 | 11 |
|
12 | | -1. Create a Google Cloud Project. |
| 12 | +1. Create a [Google Cloud Project][google.console]. |
13 | 13 | 2. On the **Enabled APIs & services** page, choose **Enable APIs and Services**, search for **Google Tasks API** and choose **Enable**. |
14 | 14 | 3. On the **Google Tasks API** page, click **Create Credentials**. |
15 | 15 | 4. On the **Which API are you using?** step, choose **User data**. |
16 | 16 | 5. On the **OAuth Consent Screen** step, configure it whatever you want. |
17 | | -6. On the **Scopes** step, choose Google Tasks API (the non-readonly variant), `https://www.googleapis.com/auth/tasks`. |
| 17 | + - One detail to remember is not to use the `Google` name in the application name. [See here][stack-overflow.google-auth] for more details. |
| 18 | +6. On the **Scopes** step, choose Google Tasks API (the one with the `.readonly` suffix), `https://www.googleapis.com/auth/tasks.readonly`. |
18 | 19 | 7. On the **OAuth Client ID** step, choose **Desktop app**. Specify the name as `GoogleTaskExport`. |
19 | 20 | 8. Download the resulting JSON file. |
20 | 21 | 9. Remember to add the users you want to use the application on the **OAuth consent screen** page, in the **Test users** list. |
@@ -45,5 +46,7 @@ Documentation |
45 | 46 | [docs.code-of-conduct]: CODE_OF_CONDUCT.md |
46 | 47 | [docs.contributing]: CONTRIBUTING.md |
47 | 48 | [docs.license]: LICENSE.md |
48 | | -[google-tasks]: https://support.google.com/tasks/answer/7675772?hl=en |
| 49 | +[google.console]: https://console.cloud.google.com/ |
| 50 | +[google.tasks]: https://support.google.com/tasks/answer/7675772?hl=en |
| 51 | +[stack-overflow.google-auth]: https://stackoverflow.com/q/63948396 |
49 | 52 | [status-aquana]: https://img.shields.io/badge/status-aquana-yellowgreen.svg |
0 commit comments