TMDiscoveryAPI

Main entry point for the Discovery API SDK.

Provides access to services for attractions, venues, events, and more.

Parameters

builder

The builder instance for configuring the API.

Constructors

Link copied to clipboard
constructor(builder: TMDiscoveryAPI.Builder)

Types

Link copied to clipboard

Builder for constructing a TMDiscoveryAPI instance.

Properties

Link copied to clipboard
Link copied to clipboard
open override val scope: Scope

Functions

Link copied to clipboard

Configures the API for a specific market.

Link copied to clipboard

Retrieves the attraction service.

Link copied to clipboard

Retrieves the authentication cookie service.

Link copied to clipboard

Retrieves the category service.

Link copied to clipboard
Link copied to clipboard

Retrieves the classification service.

Link copied to clipboard

Retrieves the event service.

Link copied to clipboard

Retrieves the ID conversion service.

Link copied to clipboard
open override fun getKoin(): Koin
Link copied to clipboard

Retrieves the MFX venue service.

Link copied to clipboard

Retrieves the promoted ad service.

Link copied to clipboard

Retrieves the third-party service.

Link copied to clipboard

Retrieves the venue service.

Link copied to clipboard
open fun setContext(context: Context)
Link copied to clipboard

Sets the promoted ad link for the API.

Link copied to clipboard
fun setUserAgent(userAgent: String)

Sets the user agent for API requests.

Link copied to clipboard

Configures the API with a new configuration.