Swagger spec based on Ticketmaster Discovery API
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
Python 2.7 and 3.4+
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import picketer
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import picketer
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import picketer
from picketer.rest import ApiException
from pprint import pprint
# Configure API key authorization: APIKeyQueryParam
picketer.configuration.api_key['apikey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# picketer.configuration.api_key_prefix['apikey'] = 'Bearer'
# create an instance of the API class
api_instance = picketer.AttractionsApi()
id = 'id_example' # str | Attraction ID
locale = 'locale_example' # str | (optional)
include_licensed_content = 'include_licensed_content_example' # str | (optional)
try:
# Get attraction details by ID
api_response = api_instance.attraction_details(id, locale=locale, include_licensed_content=include_licensed_content)
pprint(api_response)
except ApiException as e:
print("Exception when calling AttractionsApi->attraction_details: %s\n" % e)
All URIs are relative to https://app.ticketmaster.com/discovery/v2
Class | Method | HTTP request | Description |
---|---|---|---|
AttractionsApi | attraction_details | GET /attractions/{id} | Get attraction details by ID |
AttractionsApi | search_attractions | GET /attractions | Search attractions |
ClassificationsApi | classification_details | GET /classifications/{id} | Get classification details by ID |
ClassificationsApi | genre_details | GET /classifications/genres/{id} | Get genre details by ID |
ClassificationsApi | search_classifications | GET /classifications | Search classifications |
ClassificationsApi | segment_details | GET /classifications/segments/{id} | Get segment details by ID |
ClassificationsApi | subgenre_details | GET /classifications/subgenres/{id} | Get subgenre details by ID |
EventsApi | event_details | GET /events/{id} | Get event details by ID |
EventsApi | event_images | GET /events/{id}/images | Get event images |
EventsApi | search_events | GET /events | Event search |
VenuesApi | search_venues | GET /venues | Venue search |
VenuesApi | venue_details | GET /venues/{id} | Get venue details by ID |
- Access
- Address
- Area
- Attraction
- BoxOfficeInfo
- Chronology
- City
- Classification
- ClassificationType
- Container
- Country
- DMA
- Dates
- Duration
- Embedded
- EndTime
- Event
- EventImages
- Field
- FieldType
- GeneralInfo
- Genre
- GenreDetails
- Image
- Link
- Links
- Location
- Market
- Page
- Place
- PresaleDate
- Price
- Promoter
- PublicDate
- Sales
- SeatMap
- Segment
- SegmentDetails
- Social
- State
- Status
- SubGenre
- SubGenreDetails
- Time
- TimeValue
- Type
- Venue
- Zone
- Type: API key
- API key parameter name: apikey
- Location: URL query string