Eventbrite API doesn't expand attendees

梦想的初衷 提交于 2019-12-10 15:32:23

问题


Using PHP to hook into the Eventbrite API

Going to https://www.eventbriteapi.com/v3/users/me/owned_events/?token=XXX&expand=ticket_classes works and ticket_classes is expanded

However when I use https://www.eventbriteapi.com/v3/users/me/owned_events/?token=XXX&expand=ticket_classes,attendees then attendees is not expanded but it shown under EXPANDED FIELDS

Am I doing something obviously wrong?

Thanks


回答1:


You need to query the /events/{event_id}/attendees/

curl -X GET   https://www.eventbriteapi.com/v3/events/{event_id}/attendees/   -H 'Authorization: Bearer PERSONAL_OAUTH_TOKEN'

Read more in the docs: https://www.eventbrite.com/platform/docs/attendees



来源:https://stackoverflow.com/questions/46138837/eventbrite-api-doesnt-expand-attendees

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!