TicketMaster API Pro
1.0.0
Swagger spec based on Ticketmaster Discovery API
This Python package is automatically generated by the Swagger Codegen project:
Python 2.7 and 3.4+
If the python package is hosted on Github, you can install directly from Github
sudo pip install git+https://github.com/hazael00/TicketMaster-API-Pro.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 picketerPlease 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: %sn" % 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 |