bensteUEM / ChurchToolsAPI

Collection of Python files to use the API for ChurchTools
6 stars 3 forks source link

Feature Request for CT Calendar #80

Closed David-its-me closed 11 months ago

David-its-me commented 11 months ago

Hello everybody,

I would like to ask for a new feature to retrieve entries from the ChurchTools Calendar. As far as I understood, at the moment it is only possible to poll events but not possible to retrieve calendar entries.

We are already use some methods of this library in our church, to automatically generate slides with announcements on upcomming events. So from my side there would be high interest to have that feature. This means I could also contribute to the project, so please let me know if there is a way to work together.

Sincerly David

bensteUEM commented 11 months ago

You're right - we didn't implement calendar functions yet because it can be accessed using ICS feeds too. I suppose you want to have access to

Any other endpoints that are of interest? (See e.g. https://elkw1610.krz.tools/api/)

I'm kinda busy with some other stuff at the moment, but if you're willing to contribute i'm more than happy arrange respective permissions for you. If you're lucky i might find some spare time during the next weeks and try to quickly add it. In any case - thanks for adressing it as an issue here!

Do you prefer to wait or do you want to change it yourself?

bensteUEM commented 11 months ago
bensteUEM commented 11 months ago

@David-its-me - please have a look at the commit and let me know whether this functionality is sufficient for your use case I still need to check the items listed above ....

David-its-me commented 11 months ago

I tested it a second ago. It perfecly matches my use case. Thanks!

bensteUEM commented 11 months ago

Please don't close it just yet - I still need to merge it into a production release 😀

Thanks for testing, glad it did support your purpose.

bensteUEM commented 11 months ago
bensteUEM commented 11 months ago

@David-its-me - startDate and endDate are now correctly calculated. it is possible to get a series of appointments when using lookup by id - the result differs from the regular result. additionalInfo is empty on my system - in case required by anybody i'd suggest opening another issue

bensteUEM commented 11 months ago

FYI - included in pre-release 1.5.2