You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 69bf2af
Browse filesBrowse the repository at this point in the historyBrowse files
Where `<type>` is one of: `breaking`, `removal`, `feature`, `bugfix`, `documentation`, `deps`, `internal`, `chore`, `security`.
39
39
40
-
Write a short, user-facing description of the change inside the file. Fragments are collected into [CHANGES.rst](CHANGES.rst) at release time — don't edit that file directly.
40
+
Write a short, user-facing description of the change inside the file. Fragments are collected into [CHANGES.rst](CHANGES.rst) at release time. Don't edit that file directly.
Copy file name to clipboardExpand all lines: README.md
+19-13Lines changed: 19 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
# calendaring-jmap
5
5
6
-
Calendar operations over JMAP (RFC 8620 + draft-ietf-jmap-calendars), mirroring the public API of [python-caldav](https://github.com/python-caldav/caldav) so user code works against either protocol unmodified.
6
+
Calendar operations over JMAP (RFC 8620 + draft-ietf-jmap-calendars).
Not yet published to PyPI — this package is mid-extraction from python-caldav (see [#9](https://github.com/pycalendar/calendaring-jmap/issues/9)).
19
+
Not yet published to PyPI.
20
20
21
21
## Usage
22
22
23
-
The library is being extracted from python-caldav's `caldav/jmap/` module ([#9](https://github.com/pycalendar/calendaring-jmap/issues/9)) and doesn't have working code here yet. Once that lands, this section will cover listing calendars, creating events, and incremental sync.
23
+
```python
24
+
from calendaring_jmap import get_jmap_client
25
+
26
+
with get_jmap_client(
27
+
url="https://jmap.example.com/.well-known/jmap",
28
+
username="alice",
29
+
password="secret",
30
+
) as client:
31
+
calendars = client.get_calendars()
32
+
for cal in calendars:
33
+
print(cal.name)
34
+
```
24
35
25
-
In the meantime, see python-caldav's existing JMAP docs: https://caldav.readthedocs.io/v3.0.0/jmap.html
36
+
See the [quickstart](https://calendaring-jmap.readthedocs.io/en/latest/usage/quickstart.html) for authentication options, error handling, and configuration from environment variables or a YAML file.
26
37
27
38
## Documentation
28
39
29
-
Full documentation: https://calendaring-jmap.readthedocs.io/ (coming with [#8](https://github.com/pycalendar/calendaring-jmap/issues/8))
40
+
Full documentation: https://calendaring-jmap.readthedocs.io/
0 commit comments