Skip to content

Ticketmaster Discovery API client based on my recreation of the API schema

License

Notifications You must be signed in to change notification settings

arcward/picketer

Repository files navigation

picketer

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

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

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 

Setuptools

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

Getting Started

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)

Documentation for API Endpoints

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

Documentation For Models

Documentation For Authorization

APIKeyQueryParam

  • Type: API key
  • API key parameter name: apikey
  • Location: URL query string

Author

[email protected]

About

Ticketmaster Discovery API client based on my recreation of the API schema

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages