infoshare-workshop-2016
This is the repository for the InfoShare workshop of AirHelp for fetching and parsing itinerary information from mailboxes.
Setup
You need to have ruby installed on your machine to run the code from the repository. If you don't have ruby you can try rbenv and install ruby 2.3.
You will need a google oauth2 application credentials in order to run the example. You can create credentials in the Google's Developers Console in the Oauth Client section. Create a "Web application" and set the "Authorized redirect URIs" to <ngrok_https_address/auth/google_oauth2/callback
.
After creating the application you need to copy the Client ID
and the Client secret
in the .env file and restart the app.
You need to enable Google+ API from the console to be able to access information about the users that login into your app.
You also need to enable GMail API from the console so that you can access the emails of the users.