https://github.com/colinkiama/GoogleTasks.Net
A Google Tasks .Net Standard API
https://github.com/colinkiama/GoogleTasks.Net
api csharp google google-tasks google-tasks-api google-tasks-desktop net netstandard netstandard20 tasks
Last synced: 10 months ago
JSON representation
A Google Tasks .Net Standard API
- Host: GitHub
- URL: https://github.com/colinkiama/GoogleTasks.Net
- Owner: colinkiama
- License: mit
- Created: 2019-08-25T13:12:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-05T09:36:04.000Z (about 2 years ago)
- Last Synced: 2024-10-11T18:51:20.215Z (about 1 year ago)
- Topics: api, csharp, google, google-tasks, google-tasks-api, google-tasks-desktop, net, netstandard, netstandard20, tasks
- Language: C#
- Homepage:
- Size: 57.6 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# GoogleTasks.Net
[](https://www.nuget.org/packages/GoogleTasks.NET.ColinKiama/)
A Google Tasks .Net Standard API
Everything in the API has been implemented except Patch methods (which aren't necessary)
## How to use:
1) Get your API Keys from here (you'll need to create a consent screen): https://console.developers.google.com/
2) Create an `OAuthClient` with your API keys.
3) Generate an Authorization URL with the `OAuthClient`.
4) Launch the URL in a browser to login
5) Handle the query strings returned from the browser redirect with one of the `FinishOAuthAsync` methods.
6) You should have obtained a token from step 5. Create a `TasksClient` with the API Keys and token you've obtained. You will now be able to interact with the Tasks API using methods from `TasksClient`.
Note: You are responsible for ensuring that your token isn't expired while using the API. You can refresh the token with the `RefreshTokenAsync` method from `OAuthClient`.
You should save your Token to avoid logging in everytime you wish to access the API.
## Issues
For bugs, feature requests or anything else, open up a new issue.
## References:
Google Tasks API: https://developers.google.com/tasks/v1/reference/
Google OAuth 2.0 for Mobile & Desktop Apps: https://developers.google.com/identity/protocols/OAuth2InstalledApp
Google OAuth Apps For Windows Samples: https://github.com/googlesamples/oauth-apps-for-windows