View Source Excalt.Todo (Excalt v0.1.1)
Represents the parsed CalDav reply for todo items.
Link to this section Summary
Functions
Creates a new todo item with the given icalendar text.
Deletes a todo item with the given uuid.
Returns the parsed xml of the calendars for a user from the CalDav server.
Fetches the raw xml of the calendars for a user from the CalDav server.
Returns the sorted parsed list of events for a period of time, where also the icalendar parts are parsed.
Link to this section Types
Link to this section Functions
Link to this function
create(server_url, username, password, calendar_name, ical_text, uuid)
View Source@spec create( server_url :: String.t(), username :: String.t(), password :: String.t(), calendar_name :: String.t(), ical_text :: String.t(), uuid :: String.t() ) :: {:ok, etag :: String.t() | nil} | {:error, any()}
Creates a new todo item with the given icalendar text.
@spec delete( server_url :: String.t(), username :: String.t(), password :: String.t(), calendar_name :: String.t(), uuid :: String.t() ) :: {:ok, etag :: String.t() | nil} | {:error, any()}
Deletes a todo item with the given uuid.
@spec list!( server_url :: String.t(), username :: String.t(), password :: String.t(), calendar_name :: String.t() ) :: [t()]
Returns the parsed xml of the calendars for a user from the CalDav server.
@spec list_raw( server_url :: String.t(), username :: String.t(), password :: String.t(), calendar_name :: String.t() ) :: {:ok, xml :: String.t()} | {:error, any()}
Fetches the raw xml of the calendars for a user from the CalDav server.
@spec parsed_list!( server_url :: String.t(), username :: String.t(), password :: String.t(), calendar_name :: String.t() ) :: [t()]
Returns the sorted parsed list of events for a period of time, where also the icalendar parts are parsed.