Skip to content

Instantly share code, notes, and snippets.

@citrus
Created January 17, 2018 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save citrus/291cff9acec2352d4ac4dcf1f6812578 to your computer and use it in GitHub Desktop.
Save citrus/291cff9acec2352d4ac4dcf1f6812578 to your computer and use it in GitHub Desktop.
id: A unique integer identifier for the event
=> :provider_event_id
title: The title of the event
=> :title
url: URL of the event on seatgeek.com – you should direct users here to search for tickets
=> :affiliate_url
datetime_local: Date/time of the event in the local timezone of the venue – you will generally want to display this to users
=> unused
datetime_utc: Date and time of the event in UTC
=> :start_time
announce_date: Date this event was announced publicly
=> unused
visible_until: Event is valid for display until this datetime (UTC). Properly accounts for expiration policies for sports/music and events which are time_tbd
=>
time_tbd: A boolean flag to signify that an event has a "to be determined" time. If this is True, datetime_local will contain the sentinel value of 3:30am as well as the correct date
date_tbd: A boolean flag to signify that an event has a "to be determined" date. If this is True, datetime_utc and datetime_local should be treated as estimates
performers: An list of performers – primary, home_team, away_team fields indicate the performer's role at the event
=> Use this content to create the :description
venue: A venue response document
=> :affiliate_venue
Use the venue attributes to find or create an AffiliateVenue model (with an Address)
"city": "New York",
"name": "Terminal 5",
"extended_address": null,
"url": "https://seatgeek.com/terminal-5-tickets/",
"country": "US",
"state": "NY",
"score": 149.259,
"postal_code": "10019",
"location": {
"lat": 40.77167,
"lon": -73.99277
},
"address": null,
"id": 814
short_title: A shortened title for the event
=> unused
taxonomies: An array of taxonomies referencing the event
=> unused
type: Type of event
=> unused
stats: Summary information about currently available ticket listings for the event
=> unused
@surendra-wal
Copy link

surendra-wal commented Jan 19, 2018

Please confirm the taxonomies mapping below
Concerts - concerts
Concert - concert
Music Festivals - music_festival
Theater - theater
Cirque Du Soleil - cirque_du_soleil
Broadway Shows - broadway_tickets_national
Comedy - comedy
Dance Shows - dance_performance_tour
Film - film

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment