Table of Contents

Namespace Tudormobile.OpenTrivia

Classes

ApiConstants

Contains constants for the Open Trivia API.

ApiException

Represents errors that occur when an API request fails or returns an unexpected response.

ApiResponse<T>

Represents the response from an Open Trivia API call.

ApiSessionToken

Represents a session token for the API.

TriviaCategory

Represents a trivia category.

TriviaGame

Represents an immutable trivia game containing a collection of questions and their associated categories.

TriviaQuestion

Represents a trivia question from the Open Trivia Database.

TriviaQuestionCount

Represents the number of trivia questions available in a specific category, broken down by difficulty level.

Interfaces

IApiDataSerializer

Defines methods for deserializing API responses from the Open Trivia Database.

IOpenTriviaClient

Defines methods for interacting with the Open Trivia Database API.

IOpenTriviaClientBuilder

Provides a fluent interface for configuring and building instances of IOpenTriviaClient.

Enums

ApiEncodingType

Specifies the encoding type for API responses from the Open Trivia Database.

ApiResponseCode

Contains the response codes returned by the API.

TriviaQuestionDifficulty

Specifies the difficulty level of a trivia question.

TriviaQuestionType

Specifies the type of trivia question.