HTTP/HTTPS
请求协议
APIUSB / OpenAPI / 获得event数据
获得event数据
接口地址:https://api.apiusb.com/api/app?s=App.Eventbrite.GetEventData
接口描述: 根据eventid,下载event数据
接口参数
参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
---|---|---|---|---|---|
access_token | 字符串 | 可选 | 访问令牌,仅当开启签名验证时需要传递,生成令牌可使用App.Auth.ApplyToken接口 | ||
event_id | 字符串 | 必须 | - | event_id |
返回字段
返回结果 | 类型 | 说明 |
---|---|---|
ret | 整型 | 状态码,200表示成功,4xx表示客户端非法请求,5xx表示服务器错误 |
data | 对象或混合类型 | 业务数据,由各自接口指定,通常为对象 |
msg | 字符串 | 提示信息,失败时的错误提示 |
在线测试
参数 | 是否必须 | 值 |
---|---|---|
service | 必须 | |
access_token | 可选 | |
event_id | 必须 |
客户端请求示例
{
"ret": 200,
"data": {
"name": {
"text": "She's R.E.A.D.Y.",
"html": "She's R.E.A.D.Y."
},
"description": {
"text": "She's R.E.A.D.Y. Women and Girls in Transportation (WITI) Summit",
"html": "She's R.E.A.D.Y. Women and Girls in Transportation (WITI) Summit"
},
"url": "https://www.eventbrite.com/e/shes-ready-tickets-135707198885",
"vanity_url": "https://shereadywiti2021.eventbrite.com",
"start": {
"timezone": "America/New_York",
"local": "2021-03-26T10:00:00",
"utc": "2021-03-26T14:00:00Z"
},
"end": {
"timezone": "America/New_York",
"local": "2021-03-26T11:30:00",
"utc": "2021-03-26T15:30:00Z"
},
"organization_id": "101368648",
"created": "2021-01-06T15:47:55Z",
"changed": "2021-01-20T16:50:02Z",
"published": "2021-01-06T16:15:56Z",
"capacity": null,
"capacity_is_custom": null,
"status": "live",
"currency": "USD",
"listed": true,
"shareable": true,
"online_event": true,
"tx_time_limit": 900,
"hide_start_date": false,
"hide_end_date": false,
"locale": "en_US",
"is_locked": false,
"privacy_setting": "unlocked",
"is_series": false,
"is_series_parent": false,
"inventory_type": "limited",
"is_reserved_seating": false,
"show_pick_a_seat": false,
"show_seatmap_thumbnail": false,
"show_colors_in_seatmap_thumbnail": false,
"source": "coyote",
"is_free": true,
"version": null,
"summary": "She's R.E.A.D.Y. Women and Girls in Transportation (WITI) Summit",
"logo_id": "122385507",
"organizer_id": "7144462593",
"venue_id": null,
"category_id": "102",
"subcategory_id": null,
"format_id": "1",
"id": "135707198885",
"resource_uri": "https://www.eventbriteapi.com/v3/events/135707198885/",
"is_externally_ticketed": false,
"subcategory": null,
"venue": null,
"category": {
"resource_uri": "https://www.eventbriteapi.com/v3/categories/102/",
"id": "102",
"name": "Science & Technology",
"name_localized": "Science & Technology",
"short_name": "Science & Tech",
"short_name_localized": "Science & Tech"
},
"format": {
"resource_uri": "https://www.eventbriteapi.com/v3/formats/1/",
"id": "1",
"name": "Conference",
"name_localized": "Conference",
"short_name": "Conference",
"short_name_localized": "Conference"
},
"publish_settings": {
"resource_uri": "https://www.eventbriteapi.com/v3/events/135707198885/publish_settings/",
"published_date": "2021-01-06T16:15:56Z",
"schedule_publish_date": null,
"schedule_publish_status": "unscheduled",
"can_publish": false
},
"music_properties": {
"resource_uri": "https://www.eventbriteapi.com/v3/events/135707198885/music_properties/",
"age_restriction": null,
"presented_by": null,
"door_time": null
},
"refund_policy": {
"refund_policy": "not_defined",
"refund_retention_policy": null,
"is_attendee_automated_refund_allowed": false,
"default_refund_retention_policy_strategy": null,
"refund_methods": [
"original_payment"
],
"credit_expiration_period": null,
"is_refund_request_allowed": true
},
"bookmark_info": {
"bookmarked": false
},
"ticket_classes": [
{
"actual_cost": null,
"actual_fee": null,
"cost": null,
"fee": null,
"tax": null,
"resource_uri": "https://www.eventbriteapi.com/v3/events/135707198885/ticket_classes/236679315/",
"display_name": "General Admission",
"name": "General Admission",
"description": null,
"sorting": null,
"donation": false,
"free": true,
"minimum_quantity": 1,
"maximum_quantity": 10,
"maximum_quantity_per_order": 10,
"on_sale_status": "AVAILABLE",
"has_pdf_ticket": false,
"order_confirmation_message": null,
"delivery_methods": [
"electronic"
],
"category": "admission",
"sales_channels": [
"online",
"atd"
],
"secondary_assignment_enabled": false,
"event_id": "135707198885",
"image_id": null,
"id": "236679315",
"capacity": null,
"sales_end_relative": null,
"hidden_currently": null,
"include_fee": false,
"hide_sale_dates": false,
"payment_constraints": [
]
}
],
"logo": {
"crop_mask": {
"top_left": {
"x": 69,
"y": 0
},
"width": 674,
"height": 337
},
"original": {
"url": "https://img.evbuc.com/https%3A%2F%2Fcdn.evbuc.com%2Fimages%2F122385507%2F101368648%2F1%2Foriginal.20210106-160857?auto=format%2Ccompress&q=75&sharp=10&s=d22d9059f11c81498a48ddcfd001f84d",
"width": 933,
"height": 337
},
"id": "122385507",
"url": "https://img.evbuc.com/https%3A%2F%2Fcdn.evbuc.com%2Fimages%2F122385507%2F101368648%2F1%2Foriginal.20210106-160857?h=200&w=450&auto=format%2Ccompress&q=75&sharp=10&rect=69%2C0%2C674%2C337&s=fd55d7252f9b399221620584273b46e8",
"aspect_ratio": "2",
"edge_color": "#3e22a1",
"edge_color_set": true
},
"organizer": {
"description": {
"text": "The Mission of the Mid-Atlantic U.S. DOT OSDBU is to increase the number of minority-, woman-, and/or veteran-owned businesses that are prepared to compete for transportation-related prime contracts.",
"html": "<p><span style=\"color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; line-height: 21px;\">The Mission of the Mid-Atlantic U.S. DOT OSDBU is to increase the number of minority-, woman-, and/or veteran-owned businesses that are prepared to compete for transportation-related prime contracts.</span></p>"
},
"long_description": {
"text": null,
"html": null
},
"resource_uri": "https://www.eventbriteapi.com/v3/organizers/7144462593/",
"_type": "organizer",
"id": "7144462593",
"name": "Mid Atlantic Small Business Transportation Resource Center ",
"url": "https://www.eventbrite.com/o/mid-atlantic-small-business-transportation-resource-center-7144462593",
"vanity_url": "http://shesreadywiti2021.eventbrite.com",
"num_past_events": 4,
"num_future_events": 1,
"organization_id": "101368648",
"disable_marketing_opt_in": false,
"logo_id": null
},
"ticket_availability": {
"has_available_tickets": true,
"minimum_ticket_price": {
"currency": "USD",
"major_value": "0.00",
"value": 0,
"display": "0.00 USD"
},
"maximum_ticket_price": {
"currency": "USD",
"major_value": "0.00",
"value": 0,
"display": "0.00 USD"
},
"is_sold_out": false,
"start_sales_date": {
"timezone": "America/New_York",
"local": "2021-01-06T00:00:00",
"utc": "2021-01-06T05:00:00Z"
},
"waitlist_available": false
},
"resource_uris": {
"self": "https://www.eventbriteapi.com/v3/events/135707198885/structured_content/11/",
"add_module": "https://www.eventbriteapi.com/v3/events/135707198885/structured_content/11/module/",
"publish": "https://www.eventbriteapi.com/v3/events/135707198885/structured_content/11/publish/",
"preview_module": "https://www.eventbriteapi.com/v3/events/structured_content/module/preview/"
},
"access_type": "not-apply",
"page_version_number": "11",
"purpose": "listing",
"modules": [
{
"resource_uris": {
"self": "module/92498846/"
},
"id": "92498846",
"type": "text",
"layout": null,
"data": {
"body": {
"text": "<p>She's R.E.A.D.Y inspires young high school girls that are</p><p><strong>R</strong>emarkably Brilliant,</p><p><strong>E</strong>xceptionally Capable,</p><p><strong>A</strong>ctively Achieving Greatness,</p><p><strong>D</strong>ressed for Success and are</p><p><strong>Y</strong>oung, Gifted and Talented!</p><p>The purpose of this free Women and Girls in Transportation (WITI) Summit is to inspire high school aged young women to pursue exciting opportunities available in the Transportation and STEM (Science, Technology, Engineering and Mathematics) industries.</p><p>Register by March 12th, 2021!</p><p>This event is brought to you by the Mid-Atlantic Region Small Business Transportation Resource Center (MA-SBTRC) and the Philadelphia International Airport (PHL)</p>",
"alignment": "left"
},
"display_restrictions": [
]
},
"semantic_purpose": null,
"timed_display": null,
"display_restrictions": [
]
},
{
"resource_uris": {
"self": "module/92498848/"
},
"id": "92498848",
"type": "image",
"layout": null,
"data": {
"display_restrictions": [
],
"image": {
"edge_color_set": true,
"corner_style": "rectangular",
"url": "https://img.evbuc.com/https%3A%2F%2Fcdn.evbuc.com%2Fimages%2F122387903%2F101368648%2F1%2Foriginal.20210106-162822?h=2000&w=720&auto=format%2Ccompress&q=75&sharp=10&s=9191089e094cafaa88a7d98eb4240476",
"original": {
"url": "https://img.evbuc.com/https%3A%2F%2Fcdn.evbuc.com%2Fimages%2F122387903%2F101368648%2F1%2Foriginal.20210106-162822?auto=format%2Ccompress&q=75&sharp=10&s=c0f986f0811de7aa33df480bf41d8cb2",
"width": 1545,
"height": 2000
},
"image_id": "122387903",
"crop_mask": [
],
"aspect_ratio": "0.7725",
"id": "122387903"
}
},
"semantic_purpose": null,
"timed_display": null,
"display_restrictions": [
]
}
],
"pagination": {
"object_count": 2,
"page_number": 1,
"page_size": 50,
"page_count": 1
}
},
"msg": ""
}
错误列表
错误状态码 | 错误描述信息 |
---|---|
400 | ret=400,客户端参数错误或非法请求 |
404 | 表示接口服务不存在 |
406 | ret=406,access_token令牌校验不通过 |
407 | ret=407,app_key权限不足,或未知应用 |
408 | ret=408,当前用户禁止使用,或用户未登录 |
500 | 表示服务端内部错误 |
本文档生成时间:2024-04-24 23:17:15