midas/sdk/google/calendar
Types
pub type DateOrDatetime {
Date(String)
Datetime(String)
}
Constructors
-
Date(String)
-
Datetime(String)
Functions
pub fn date_or_datetime_decoder(
raw: Dynamic,
) -> Result(DateOrDatetime, List(DecodeError))
pub fn event_decoder(
raw: Dynamic,
) -> Result(Event, List(DecodeError))
pub fn list_events(
token: String,
calendar_id: String,
time_min: String,
) -> Effect(List(Event))
pub fn list_events_request(
token: String,
calendar_id: String,
time_min: String,
) -> Request(BitArray)
pub fn list_events_response(
response: Response(BitArray),
) -> Result(List(Event), Snag)