Dalec plugin to retrieve caldav data
Project description
📅 dalec-caldav
Django Aggregate a Lot of External Content -- CalDav
Aggregate last event from a given CalDav instance.
Plugin of 🤖 dalec.
Installation
pip install dalec_caldav
In django settings INSTALLED_APPS
, add:
INSTALLED_APPS = [
...
"dalec",
"dalec_prime",
"dalec_caldav",
...
]
Usage
General usage:
{% load dalec %}
{% dalec "caldav" content_type [channel=None] [channel_object=None] [template=None] %}
Events
Retrieves latest event of all calendars accessible for the current user:
{% dalec "caldav" "event" %}
Retrieves latest event of a calendar defined by an url:
{% dalec "caldav" "event" channel="url" channel_object="https://nextcloud.org/remote.php/dav/public-calendars/<calendarID>"%}
Settings
Django settings must define:
DALEC_CALDAV_BASE_URL
: CalDav instance url (ex:https://caldav.org/
)DALEC_CALDAV_API_USERNAME
: CalDav username (ex:admin
)DALEC_CALDAV_API_PASSWORD
: CalDav user password (ex:azeazeaezdfqsmlkrjzr
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dalec-caldav-0.1.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for dalec_caldav-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa3ac5c2e26fde977c79d4f964e01708d1571d37950bf1544a5f445aa41aae6f |
|
MD5 | 18fc4390b1eada54fc8e0a8d25999278 |
|
BLAKE2b-256 | d806411a6a281f8b1f36cc10f9ed38d18e9647e6a40dff5c3adb6f957f77a08a |