Searches your GMail account to get stats about your flights
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
lib
.gitignore
LICENSE
README.md
config.json
index.js
package.json

README.md

flightstats

Searches your GMail account to get stats about your flights

Setup

  1. Clone respository
  2. Run npm install
  3. Follow Step 1 from here: https://developers.google.com/gmail/api/quickstart/nodejs#step_1_turn_on_the_api_name and save the file as google_credentials.json in the project directive.
  4. Add more emails to config.json if necessary
  5. Run npm start
  6. Open the link prompted (you can hold Cmd and press in iTerm), authorize and copy the code into the prompt
  7. Wait :)
  8. Open the CSV if you want.