-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
The summary returned by the event data via event id shows up twice in the data.
It also takes place of the description therefore not providing a huge amount of event data to the user of the API and SDK.
Here is a script showcasing the bug:
from eventbrite import Eventbrite
def create_eventbrite_object(private_token):
return Eventbrite(oauth_token=private_token)
def get_event_data(eventbrite, event_id):
try:
event = eventbrite.get_event(event_id)
return event
except Exception as e:
print(
f"Could not get event data for event_id: {event_id}, due to exception: {e}"
)
return None
eventbrite = create_eventbrite_object("YOUR_PRIVATE_TOKEN") # add your eb private token
event_id = 000000000000 # add any event id
event_data = get_event_data(eventbrite, event_id)
print(event_data["description"]["text"])
print(event_data["summary"])Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels