Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save justin-hackin/fb0484db46cd3dd80d76ec6f32b0b1e0 to your computer and use it in GitHub Desktop.
Save justin-hackin/fb0484db46cd3dd80d76ec6f32b0b1e0 to your computer and use it in GitHub Desktop.
Eventbrite Organizer Events Apify Actor - Dataset Types
```
Types for Eventbrite Organizer Events Apify Actor's dataset
```
interface EventbriteDateTime {
utc: string;
date_header: string;
timezone: string;
local: string;
formatted_time: string;
}
export interface EventbriteEvent {
id: string;
is_series: boolean;
description: {
text: string;
html: string;
}
start: EventbriteDateTime;
end: EventbriteDateTime;
name: {
text: string;
html?: string;
}
url: string;
venue_id: string;
logo: {
url: string;
edge_color: string;
},
locale: string;
slugified_name: string;
rank: number;
currency: string;
date_header: string;
organizer: {
website: string;
organization_id: string;
_type: string;
user_id: string;
short_name: string;
url: string;
id: string;
logo_id: string;
disable_marketing_opt_in: boolean;
vanity_url: string;
name: string;
},
venue: {
name: string;
address: {
address_1: string;
address_2: string;
city: string;
region: string;
postal_code: string;
country: string;
longitude: string;
latitude: string;
localized_address_display:string;
localized_multi_line_address_display: string[];
localized_area_display: string,
};
user_id: string;
// TODO: not sure what items for places array are
places: unknown[],
longitude: string;
latitude: string;
organizer_id: string;
google_place_id: string;
id: string;
}
ticket_availability: {
num_ticket_classes: number;
has_bogo_tickets: boolean;
is_free: boolean
common_sales_end_date:boolean;
},
category: {
subcategories: [],
short_name_localized: string;
name: string;
short_name: string;
name_localized: string;
id: string;
},
user_id: string;
source: string;
show_seatmap_thumbnail: boolean;
inventory_type: string;
show_colors_in_seatmap_thumbnail: boolean;
logo_id: string;
listed: boolean;
hide_end_date: boolean;
status: string;
_type: string;
format: {
short_name_localized: string;
name: string;
short_name: string;
name_localized: string;
schema_url: string;
id: string;
},
show_pick_a_seat: boolean;
is_free: boolean;
organization_id: string;
is_externally_ticketed: boolean;
is_protected_event: boolean;
is_series_parent: boolean;
format_id: string;
tld: string;
series_id: string;
price_range: string;
language: string;
facebook_user_id: number;
current_status: number;
summary: string;
published:string;
is_locked: boolean;
shareable: boolean;
style_id: string;
online_event: boolean;
organizer_id: string;
category_id: string;
survey_type: string;
subcategory_id: string;
}
export type EventbriteEventsDatasetItem = Record<string, EventbriteEvent[]>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment