tag | 63e74e685617e57964f0ab221fb8ae5601aa0a4c | |
---|---|---|
tagger | Jess Frazelle <acidburn@microsoft.com> | Tue Sep 25 13:20:32 2018 -0400 |
object | 5725f556b5048e766faff06ed3d761d60cd5860e |
v0.1.5 -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE1MTdYA1m9lqO/FEeGPNoXAAiv/MFAluqbmAACgkQGPNoXAAi v/PCgQ//WPiRyk1Fr2y4Z6WH0Ek3CEUYzjJ82pdMR3gw3QTi3gbmO5VYi6IINzqq H9fuME9nkvEq7CFAXpjh35iU/5jL2Y95vgmUK7AjRme356woP8OmDnECp0wVcUEl d5xnlPYr2ZFY4TrLFwIib/kZdpzS1S5/HKD3VNxREuzmNs6i52nvLE/YUjZRNagH mg65RVBGG7VoDfDgichE7PDxwdTquWbhAxtG+COjbBDK/xDfQy8GYrsbN8AB8Ptv UVNjrQLmFQ+fErZSiLBmamf0yD9y6BdGcBR5kk2ZfbPEcuw/rvUee2o/iZGpDMjj xSl4d1vcwq2XHp7e+gAke1JkJzHzXWVTFUapP6PzVc+pH8PW2cm7bWcwjLa/lGh6 8qjJMkcOeFjfK8hSGOSSZgtkzDpopdtfYTkefrq+fU25X3af+ms63UCj/J4leveh 30PlFf3gge3QWueyEbKdESumqxqc3qZqIn8RZDpz5TjVedTILcc88Yx3UJox8jkp 0KqH2MJD5qOWaz6T8RK/o2gT82L443owyfw/ks/MVD4WiQOYuA3R/+NHZOQ4H+7A 4FBXJaGPMqZINMi5c9FM0AigNAXbvFBjNQ6RNSPtN0SyBvNdMS6xtYLLDLuvaC1q hSO31GvSOeX7pxdn/rJWKpuO4kJk5nMWG52MQ77SxKH4IcqSyus= =lTFt -----END PGP SIGNATURE-----
commit | 5725f556b5048e766faff06ed3d761d60cd5860e | [log] [tgz] |
---|---|---|
author | Jess Frazelle <acidburn@microsoft.com> | Tue Sep 25 13:20:31 2018 -0400 |
committer | Jess Frazelle <acidburn@microsoft.com> | Tue Sep 25 13:20:31 2018 -0400 |
tree | 485b39bc4a797199ab5d2069d16270c48820dc26 | |
parent | 56b23d06cbb2a5088cc7e0f9b24a168c6c8d0a0e [diff] |
Bump version to v0.1.5 Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
Bot to automatically create Google Calendar events from TripIt flight data.
I have OCD about the layout of my calendar events so that is why I made my own bot.
For installation instructions from binaries please visit the Releases Page.
$ go get github.com/jessfraz/tripitcalb0t
$ docker run --restart always -d \ -v /etc/localtime:/etc/localtime:ro \ -v /path/to/.tripitcalb0t/google.json:/.tripitcalb0t/google.json:ro \ --name tripitcalb0t \ -e "TRIPIT_USERNAME=your_username" \ -e "TRIPIT_PASSWORD=59f6asdfasdfasdf0" \ -e "GOOGLE_CALENDAR_ID=your_google_calendar_id" \ r.j3ss.co/tripitcalb0t --interval 1m
$ tripitcalb0t -h tripitcalb0t - Bot to automatically create Google Calendar events from TripIt flight data. Usage: tripitcalb0t <command> Flags: --calendar Calendar name to add events to (or env var GOOGLE_CALENDAR_ID) -d Enable debug logging (default: false) --google-keyfile Path to Google Calendar keyfile (default: ~/.tripitcalb0t/google.json) --interval Update interval (ex. 5ms, 10s, 1m, 3h) (default: 1m0s) --once Run once and exit, do not run as a daemon (default: false) --past Include past trips (default: false) --tripit-password TripIt Password for authentication (or env var TRIPIT_PASSWORD) --tripit-username TripIt Username for authentication (or env var TRIPIT_USERNAME) Commands: version Show the version information.
Enable the API: To get started using Calendar API v3, you need to first create a project in the Google API Console, enable the API, and create credentials.
Follow the instructions for step enabling the API here.
Add the new service account to the Google Calendar account with Read & Write permission.
The newly created service account will have an email address that looks similar to: quickstart@PROJECT-ID.iam.gserviceaccount.com
.
Use this email address to add a user to the Google Calendar view you want to access via the API.
To use this, you must enable "Web Authentication" on your account. You can follow the steps to do that here.