Skip to content

Latest commit

 

History

History
128 lines (104 loc) · 3.64 KB

File metadata and controls

128 lines (104 loc) · 3.64 KB
layout interactive-console
category documentation
title Partner API Interactive API Console
excerpt Instructions. Get your API Key if you don’t have one. Enter your API Key. Log in with your credentials to authenticate.
keywords API, interactive console, get API Key, discovery API

{::comment} page title {:/comment} {% capture page_title %}

INTERACTIVE API CONSOLE

{% endcapture %}

{::comment} Instructions Header {:/comment} {% capture instructions_header %}

Instructions

{% endcapture %}

{::comment} instructions list {:/comment} {% capture instructions_list %}

  1. Have your API Key handy. You'll need access to the Ticketmaster Partner API to use this console.
  2. Enter a Ticketmaster event id. Use 000051048D991EE7 for testing.
  3. Load Event Details to discover ticket types
  4. Reserve tickets using the ticket type id and specify quantity
  5. A test credit-card can be used to make payment on this event. Use 'Populate Test CC' in the payment dialog
  6. Commit the transaction {% endcapture %}

{::comment} Get api button text {:/comment} {% capture api_callout_button_text %}

GET YOUR API KEY RIGHT now

{% endcapture %}

{::comment} page layout goes here {:/comment}

{{page_title}}

Your API Key/Custom Token:
{{instructions_header}}
{{instructions_list}}
<script> function checkApiCookie() { var userApiKey; var apiKeys = JSON.parse("[" + window.atob(getCookie("tk-api-key")) + "]"); //decode and convert string to array if (getCookie("tk-api-key") === "") {return null} if (apiKeys != "") { userApiKey = apiKeys[apiKeys.length-1]; userApiKey = userApiKey[userApiKey.length-1]; } return userApiKey; } //get Cookie by name function getCookie(cname) { var name = cname + "="; var ca = document.cookie.split(';'); for(var i = 0; i <iframe name="foo" id="console-iframe" src="" width="100%" height="1000" scrolling="yes" style="margin-top: 3em;"></iframe>