AddToCalendar.Providers (add_to_calendar v0.1.0)

Copy Markdown View Source

Generates calendar provider URLs for adding events to Google Calendar and Outlook.com.

Summary

Functions

Builds a Google Calendar "add event" URL for the given event.

Builds an Outlook.com "add event" URL for the given event.

Functions

google_url(event)

@spec google_url(AddToCalendar.Event.t()) :: String.t()

Builds a Google Calendar "add event" URL for the given event.

outlook_url(event)

@spec outlook_url(AddToCalendar.Event.t()) :: String.t()

Builds an Outlook.com "add event" URL for the given event.