Categorygithub.com/benbalter/zoom-go
modulepackage
0.2.0
Repository: https://github.com/benbalter/zoom-go.git
Documentation: pkg.go.dev

# README

zoom-go

Port of https://github.com/benbalter/zoom-launcher to zoom. Go easy, it's my first Go project.

Installation

To install, run:

$ go get github.com/benbalter/zoom-go/cmd/zoom

This will install a zoom executable file into $GOPATH/bin/zoom.

Usage

Ensure $GOPATH/bin is in your $PATH, and run zoom! That's all.

Authorization

The first time you run zoom, you will see instructions for how to create a Google app in the Developer Console, authorize it to access your calendar, download credentials, then import the credentials into zoom. After you import, you should be walked through the process of authorizing in the browser. Paste the authorization code back into your terminal, and vòila, zoom will be all configured for your next run.

# Packages

No description provided by the author
Package config provides methods for fetching and storing configuration.

# Functions

GoogleCalendarAuthorizationURL returns the authorization URL for the service configured in the provider.
HandleGoogleCalendarAuthorization takes an auth code and generates the necessary token and stores it on the provider.
HumanizedStartTime converts the event's start time to a human-friendly statement.
IsMeetingSoon returns true if the meeting is less than 5 minutes from now.
MeetingStartTime returns the calendar event's start time.
MeetingSummary generates a one-line summary of the meeting as a string.
MeetingURLFromEvent returns a URL if the event is a Zoom meeting.
NewGoogleCalendarService creates a new Google Calendar service with the credentials in the provider.
NewGoogleClient creates a new client using the token from the given provider.
NextEvent returns the next calendar event in your primary calendar.