Excalt allows you to communicate with a CalDav server using the xml structure as specified in (RFC 4791).
The package available in Hex and can be installed
by adding excalt
to your list of dependencies in mix.exs
:
def deps do
[
{:excalt, "~> 0.1.1"}
]
end
Then run mix deps.get
to install the package and its dependencies.
Documentation can be found at https://hexdocs.pm/excalt.
Available at HexDocs.
calendars = Excalt.Calendar.list_raw "https://mycaldavserver.org", "myusername", "mypassword"
`
The VTIMEZONE database has been compiled by using the vzic utility.
A big help to build this library was the other elixir caldav client, (caldav_client. It has a slightly different scope, as it is focused on events, while this library also allows the manipulation of other resources.