API
Open
Nobody has claimed this yet.
type: discussion
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 233
- Avg merge
- 1h 44m
- Merged PRs (30d)
- 1
Description
Is there an API to khal? That would be very helpfull to me so I can integrate it better with Qtile without having to use subprocess and stuff.
Something like:
from khal import Calendar
my_calendar = Calendar('name_of_calendar')
events = my_calendar.get_events(number=5) # Something like this, but could also have other kind of parameters
print(events)
# get a list of events
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points; begin by determining how khal currently exposes calendar operations and what a Python API would need to cover. Done would mean an agreed API that lets Qtile integrations access events without subprocess calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100