如何使用 Eventbrite Api 查询特定城市中特定日期的所有事件?

How do I query all events in a specific city with a specific date using Eventbrite Api?

基本上,我正在尝试使用 eventBrite API 查询当前用户所在城市今天和明天发生的所有事件。语言是Javascript。我很困惑,因为我可以对下面的 URL 使用 GET 请求来查询所有事件。

https://www.eventbriteapi.com/v3/events/search?token=MYTOKEN

然而,我对如何在查询中包含特定的感兴趣城市和活动开始日期感到困惑。

提前致谢!

您需要设置location.address参数。您可以在此处的文档中找到它:https://www.eventbrite.com/developer/v3/endpoints/events/#ebapi-get-events-search

例如:GET /v3/events/search/?location.address=CITY&token=MYTOKEN

**注意确保在搜索后包含 /。