Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To use the Stub Hub connector, add the  <stubHub.init>  element in your configuration before carrying out any other operations.  The API requires authentication, which is performed as follows. The API will then return a token to authenticate its functionality.

Info

This connector is tested for the following stub hub API versions.

EventsAPI V2

VenuesAPI V2

InventorySearchAPI V1

UserCustomerAPI V1

Code Block
languagexml
titleinit
<stubHub.init>
    <apiUrl>{$ctx:apiUrl}</apiUrl>
    <appToken>{$ctx:appToken}</appToken>
    <consumerKey>{$ctx:consumerKey}</consumerKey>
    <consumerSecret>{$ctx:consumerSecret}</consumerSecret>
    <username>{$ctx:username}</username>
    <password>{$ctx:password}</password>
    <scope>{$ctx:scope}</scope>
</stubHub.init>
Properties  
  • emailusername: The user account email.
  • responseTypeappToken : The format of the response, XML or JSONApplication Token for Stub Hub app.
  • apiUrl: The base URL of the Base APIStub Hub API.
  • password: The user account password.
  • consumerKey : The Consumer key for Stub Hub app.
  • scope: The Consumer key for Stub Hub app.

  • consumerSecret: The Consumer key for Stub Hub app.

Now that you have connected to  Stub Hub, use the information in the following topics to perform various operations with the connector.

...