Skip to content

Maxim-Mazurok/google-tasks-api-ts-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Tasks API TypeScript Example

Very basic (and sometimes ugly) but working example of Google Tasks API usage in TypeScript for Browser

Instructions:

  1. git clone https://github.com/Maxim-Mazurok/google-tasks-api-ts-example
  2. cd google-tasks-api-ts-example
  3. npm install
  4. Get Client ID and API key: instructions
  5. Set CLIENT_ID and API_KEY in src/index.ts
  6. Run npm run compile to compile TS to JS (index.js should appear in dist folder)
  7. Start your server (using https-serve + edit hosts file, or ngrok)
  8. Authorize, and you'll see your TaskLists as well as Tasks within those TaskLists

Troubleshooting:

  • Always look in the browser console for errors
  • Make sure that you're serving via https (using https-serve + edit hosts file, or ngrok)
  • Make sure that your domain is added in Google developer console
  • You can open issue here if you need help

About

Google Tasks API example in TypeScript for Browser

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published