"SeatGeek" (Service Connection)
"SeatGeek" (Service Connection)
Obsolete
Connecting & Authenticating
ServiceConnect["SeatGeek"] creates a connection to the SeatGeek API. If a previously saved connection can be found, it will be used; otherwise, a new authentication request will be launched.
By utilizing this connection, you agree to abide by the SeatGeek
Terms of Use
.
Requests
ServiceExecute["SeatGeek","request",params] sends a request to the SeatGeek API, using parameters params. The following give possible requests.
Search Events
"EventList" — search events by location, price, performer, date range, or venue
"EventDataset" — search events by location, price, performer, date range, or venue
| "Location" | None | geo location, city, country, etc. | |
| "AveragePriceRange" | None | average price range | |
| "HighestPriceRange" | None | highest price range | |
| "LowestPriceRange" | None | lowest price range | |
| "ListingCountRange" | None | number of sites where tickets are sold | |
| "Performer" | None | performer name or ID | |
| "Date" | None | event date or date range | |
| MaxItems | 100 | number of elements to return | |
| "SortBy" | None | sorting order | |
| "StartIndex" | 1 | start index | |
| "Query" | None | query string |
Event Details
"EventDetails" — data about a specific event
| "EventID" | (required) | event ID or list of IDs |
Search Performers
"PerformerList" — search performers by name, score, etc.
"PerformerDataset" — search performers by name, score, etc.
| MaxItems | 100 | number of elements to return | |
| "SortBy" | None | sorting order | |
| "StartIndex" | 1 | start index | |
| "Query" | None | query string |
Performer Details
"PerformerDetails" — data about a specific performer
| "PerformerID" | (required) | performer ID or list of IDs |
Search Venues
"VenueList" — search venues by location, name, etc.
"VenueDataset" — search venues by location, name, etc.
| "Location" | None | geo location, city, country, etc. | |
| MaxItems | 100 | number of elements to return | |
| "SortBy" | None | sorting order | |
| "StartIndex" | 1 | start index | |
| "Query" | None | query string |
Venue Details
"VenueDetails" — data about a specific venue
| "VenueID" | (required) | venue ID or list of IDs |
Examples
Basic Examples (1)
seatgeek = ServiceConnect["SeatGeek"]Search for events by query string:
results = ServiceExecute["SeatGeek", "EventDataset", {"Query" -> "Taylor Swift", MaxItems -> 10, "SortBy" -> {"Date", "Ascending"}}]Search for events by location:
results = ServiceExecute["SeatGeek", "EventDataset", {"Location" -> Entity["Building", "EmpireStateBuilding::h583b"], MaxItems -> 10}]Detailed information about events:
ServiceExecute["SeatGeek", "EventDetails", {"EventID" -> ToString[results[1, "ID"]]}][[{"Title", "Date", "Type", "URL", "Venue"}]]performers = ServiceExecute["SeatGeek", "PerformerDataset", {"Query" -> "Goat", MaxItems -> 5}]Detailed information about performers:
Dataset@ServiceExecute["SeatGeek", "PerformerDetails", {"PerformerID" -> performers[2, "ID"]}]Search for venues near a location:
results = ServiceExecute["SeatGeek", "VenueDataset", {"Location" -> Entity["City", {"Champaign", "Illinois", "UnitedStates"}], MaxItems -> 5}]Detailed information about venues:
ServiceExecute["SeatGeek", "VenueDetails", {"VenueID" -> "4562"}]