jonec76 / gmailAPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gmailAPI

pre-required

  1. GO TO 'https://developers.google.com/gmail/api/quickstart/nodejs'

  2. click the button 'Enable the gmail API'

  3. Download the credential.json, and put the file into this folder

Execute

  1. Delete the 'TOKEN.json' first if it exists.

  2. -> npm install

  3. -> npm run start

  4. click the authoriz website showed in console .

  5. It would generate a new TOKEN.json after STEP 4, the new file includes ACCESS_TOKEN, REFRESH_TOKEN, blabla...

About


Languages

Language:JavaScript 100.0%