Very basic (and sometimes ugly) but working example of Google Tasks API usage in TypeScript for Browser
git clone https://github.com/Maxim-Mazurok/google-tasks-api-ts-example
cd google-tasks-api-ts-example
npm install
- Get Client ID and API key: instructions
- Set
CLIENT_ID
andAPI_KEY
in src/index.ts - Run
npm run compile
to compile TS to JS (index.js
should appear indist
folder) - Start your server (using
https-serve
+ edithosts
file, orngrok
) - Authorize, and you'll see your TaskLists as well as Tasks within those TaskLists
- Always look in the browser console for errors
- Make sure that you're serving via https (using
https-serve
+ edithosts
file, orngrok
) - Make sure that your domain is added in Google developer console
- You can open issue here if you need help