Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

REST Api #526

Open
superandrew opened this issue Jun 30, 2022 · 2 comments
Open

REST Api #526

superandrew opened this issue Jun 30, 2022 · 2 comments

Comments

@superandrew
Copy link

Hi, is this package compatible with DRF? Is it supported to run calendar with no frontend UI (e.g. for a mobile client)?

@superandrew
Copy link
Author

I noticed that there are API, however in the documentation (and the locally run demo) I wasn't able to find references to new event creation via API (I found the url, but I am unable to call it in POST with correct parameters). I'll try to reverse engineer the code, I was just guessing if I was missing a obvious thing in the documentation.

@xjlin0
Copy link
Contributor

xjlin0 commented Oct 1, 2022

Yes I am using this package with DRF with home written endpoints by calling period.get_occurrences(), since I need more than built-in API on /schedule/api/occurrences?calendar_slug=testcal&start=2019-01-01&end=2020-01-26. Also you can check how other people use it
#304 (comment)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants