Table of Contents

Class FinancialDataApi

Namespace
Tudormobile.FinancialData
Assembly
Tudormobile.FinancialData.dll

Provides factory methods for creating clients that interact with financial data APIs.

public static class FinancialDataApi
Inheritance
FinancialDataApi
Inherited Members

Remarks

This static class enables the creation of financial data clients with customizable HTTP communication and serialization options. Use this class to obtain instances of clients that can access various financial data services. The created clients can be configured with a specific HTTP client and serializer to suit different application requirements.

Fields

ApiVersion

The Financial Data API version.

public static readonly string ApiVersion

Field Value

string

RootUri

The root URI for the financial data API.

public static readonly string RootUri

Field Value

string

Methods

CreateClient(string, HttpClient, IFinancialDataSerializer?)

Creates and initializes a new instance of the IFinancialDataClient class.

public static IFinancialDataClient CreateClient(string apiKey, HttpClient httpClient, IFinancialDataSerializer? serializer = null)

Parameters

apiKey string

The API key used for authenticating requests to the financial data service.

httpClient HttpClient

The HTTP client used for sending requests to the API.

serializer IFinancialDataSerializer

Optional serializer instance for serializing and deserializing API data. If null, the internal serializer will be used.

Returns

IFinancialDataClient