Skip to content

mrburrito/reinvent-sessions

Repository files navigation

sessions-to-ics

Updated for 2024!

This script exports the re:Invent sessions you've flagged as favorites to iCal (.ics) format.

It generates one .ics file for each type of session (e.g. Builders Sessions, Workshops, etc.) and an all-sessions.ics file with all sessions combined.

It will also generate an all-sessions.csv file that can be opened in Excel, Google Sheets, or Numbers and, once you've registered, a reserved.ics file containing your reserved sessions.

You can use the --save-agenda option to save the raw JSON response from AWS with your session details to agenda.json.

Steps to use:

  1. Copy config.template.json to config.json

    cp config.template.json config.json
  2. Open your browser's Developer Tools and go to the Network tab.

  3. Go to your AWS re:Invent Agenda. Make sure you're logged in.

  4. Find the myData (https://catalog.awsevents.com/api/myData) request in the Network tab of Developer Tools.

  5. Copy the cookie, rfapiprofileid, and rfauthotken headers and add them to config.json.

    You can copy the full request as a cURL request and find the -H values to load into config.json. Make sure to take only the values and not the cookie: key prefix.

  6. Install node modules

    npm install
  7. Execute the script to generate the .ics files.

$ node sessions-to-ics.js --help

Usage: sessions-to-ics [options]

Options:
   -V, --version           output the version number
   -o, --output-dir <dir>  the output directory (default: "sessions")
   -r, --reserved-only     Only output reserved sessions
   -a, --save-agenda       Save the raw agenda JSON to <dir>/agenda.json
   -h, --help              display help for command

ICS files will be written to the output directory (default ./sessions).

$ node sessions-to-ics.js -a
Retrieving agenda ...
Saving raw agenda to sessions/agenda.json
Downloaded agenda. Found 0 Reservations and 207 Interests.
Wrote 92 events to sessions/chalk-talks.ics
Wrote 66 events to sessions/breakout-sessions.ics
Wrote 34 events to sessions/workshops.ics
Wrote 9 events to sessions/gamified-learnings.ics
Wrote 1 events to sessions/innovation-talks.ics
Wrote 5 events to sessions/keynotes.ics
Wrote 207 events to sessions/all-sessions.ics
Wrote 207 events to sessions/all-sessions.csv
  1. Import the *.ics files into the Calendar of your choice.

About

Exports re:invent session interests to ICS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •