如何在EventBrite API上使用organizer_list_events显示将来的事件 [英] How to show future events with organizer_list_events on the EventBrite API
问题描述
当我使用organizer_list_events时,我总是从eventBrite api获取结束事件.我尝试了实时状态,开始状态(以及两者兼有).但这似乎不起作用.
I always get ended events from the eventBrite api when i use the organizer_list_events. I tried with statuses live, started (and both). But that doesn't seem to work.
event_search api具有"date:Future"的可能性.一切正常,但随后我无法传递OrganiserId.
The event_search api has a "date:Future" possibility. Which is working fine, but then I don't have a possibility to pass the organiserId.
推荐答案
注意,我在Eventbrite的平台团队工作
Note, I work on the platform team at Eventbrite
organizer_list_events
不接受status
参数:
http://developer.eventbrite.com/doc/organizers/organizer_list_events/
但是,user_list_events
会这样做:
http://developer.eventbrite.com/doc/users/user_list_events/
在一个用户只有一个组织者的情况下,这些调用应返回相同的数据.一个用户可能有多个组织者,在这种情况下,user_list_events
可能返回比所需更多的数据.不过,使用status
参数应该可以减少当前收到的内容.
In the case that one user has one organizer, these calls should return the same data. It's possible for one user to have multiple organizers, in which case user_list_events
could return more data than needed. Still, using the status
parameter should cut down on what you're currently receiving.
我们正在构建一个经过改进的新API,但我可以考虑在organizer_list_events
中添加一个status
字段.
We're in the process of building a new and much improved API, but I can look at adding a status
field to organizer_list_events
.
这篇关于如何在EventBrite API上使用organizer_list_events显示将来的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!