pimutils / pimutils/khal

API

Open
#1,089 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.