-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get events within a group/subgroup #14
Comments
Not sure it is possible, but if you find something interessting, please let me know. It will fetch all events you are invited to or you are the organiser of, and I guess you can find which (sub) group that it includes by looking at who is invited and do some filtering based on that. |
Hi Olen, just a few minutes ago i figured it out. Or better said firefox web developer tools provides way more information then chrome ;-) Firefox showed me a bunch new url parameters: And it provides lots of data :-) |
[
I think it'll also fetch all events within groups for which you have a defined ('admin') role. Not sure how role permissions affect this. |
@mpucherSmIT - wondering if you've done any development on this? |
I have written an enhancement to get events per group. But it seems to have exposed an unexpected problem that the existing code which doesn't include a GroupId parameter fails to get a a few events per group. I will share an informal test as soon as feasible... |
Hi @elliot-100, here is the code snippet that I added to spond.py:
|
Thanks - I haven't forgotten about this, but other things have got in the way... |
Hi, added But I think we are now in a better position if you would like to add? |
I will add |
Closed by #114 . |
Hello and thank you for your great work so far. It seems more people aren't that happy with the export functionalities spond provides ;-)
We have a large children group that has training events and I'de like to export those events per month (with participants). getEvents and getEventsBetween seem to only load "global" events.
Is it possible to fetch events per (sub-)group? I'm digging around dev tools and try to get something like that:
https://spond.com/api/2.1/group/{our_group_id}/ -> lists members so the correct id is used
https://spond.com/api/2.1/group/{our_group_id}/sponds -> 404
https://spond.com/api/2.1/group/{our_group_id}/events -> 404
https://spond.com/api/2.1/sponds/?group={our_group_id} -> param is ignored
Any other ideas?
The text was updated successfully, but these errors were encountered: