Google Calendar
Fetch your Google Calendar events for a given day.
Fetch today’s meetings:
swelog fetch google-calendarBackfilling
Section titled “Backfilling”To backfill a previous date, provide MM-DD-YYYY:
swelog fetch google-calendar --date 08-17-2026--yesterday does the same for the day before:
swelog fetch google-calendar --yesterdayFor last Friday, use --last-friday instead of working out the date:
swelog fetch google-calendar --last-fridayOutput
Section titled “Output”The generated section contains your meetings for the day, ordered by start time.
## Google Calendar
- 10:00 AM - 10:15 AM | Standup- ~~11:00 AM - 11:30 AM | Eng all-hands~~- 1:00 PM - 2:00 PM | Design review- 3:00 PM - 4:00 PM | Focus blockSwelog records the following events:
| Event | Recorded |
|---|---|
| A timed event you accepted | Yes |
| A timed event you never replied to | Yes |
| A solo hold, such as a focus block | Yes |
| An event you declined | Struck through |
| An event the organizer cancelled | Struck through |
| An all-day event | No |
Limitations
Section titled “Limitations”Swelog only reads the primary calendar of the account that authorized.
To record a different account’s calendar, authorize as that account instead. See Switching accounts.
Switching accounts
Section titled “Switching accounts”Clear the stored authorization and fetch again:
swelog auth clear google-calendarswelog fetch google-calendarThe next fetch starts a new browser authorization flow, where you can pick a different Google account.