Skip to content
SDK for Ticketmaster API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Release 2.0.2 Jun 22, 2019
.gitignore Created File Jan 23, 2018 Created Jan 23, 2018 Updated LICENSE file Mar 19, 2018

Ticketmaster API: SDK for .NET

GitHub license

The Ticketmaster .NET SDK contains projects with the implementation of easy access to API endpoints. For more detailed information about the API and to get your API key head here. This SDK supports Discovery v2.


Hi everyone, please, left a feedback about this project or about components. It will help me to improve this library. You can do this in any way you like:

  • Send me email.
  • Write to me in Skype.
  • Contact me in Linkedin.

Details you can find in 'Authors' section below.


The solution contains different projects


Setup IClientConfig

The implementation of interfaces, the clients, in sdk required to resolve ClientConfig and pass them like a parameter into constructor. It have ConsumerKey property what is the Consumer Key for ticketmaster api. And ApiRootUrl what should be

    public interface IClientConfig
        string ConsumerKey { get; }
        string ApiRootUrl { get; }

Simple usage of EventsClient

  var config = Substitute.For<IClientConfig>();

  var restClient = new RestClient(config.ApiRootUrl);

  var eventsApiClient = new EventsClient(client, config);
  var result = await _sut.SearchEventsAsync(new SearchEventsRequest());

The requests classes and BaseQuery class.

The Discovery API can accept query parameters for different endpoints. To allow pass this query parameters was created BaseQuery which have QueryParameters property.

For adding this parameters you just need create new instance of IDiscoveryApiRequest, IDiscoveryApiGetRequest interface. In this solution we have implementations for this interfaces. The SearchAttractionsRequest, SearchClassificationsRequest, SearchEventsRequest, SearchVenuesRequest classes. Use method AddQueryParameter to add query properties, the rules described in Method description for Api. The Example for Search Events method is:

var request = new SearchAttractionsRequest();
request.AddQueryParameter(QueryParameters paremeter, string value);


See also the list of contributors who participated in this project.

Our Team


This project is licensed under the MIT License - see the file for details

You can’t perform that action at this time.