Show / Hide Table of Contents

Class TotdResource

Track of the Day

Inheritance
System.Object
Hawf.ApiRequestBuilder<TotdResource>
Hawf.Client.ApiBase<TotdResource>
TrackmaniaIo.ApiClient.Resources.TmIoApiBase<TotdResource>
TotdResource
Namespace: TrackmaniaIo.ApiClient.Resources
Assembly: TrackmaniaIo.ApiClient.dll
Syntax
public class TotdResource : TmIoApiBase<TotdResource>

Constructors

| Improve this Doc View Source

TotdResource(String, String, TmIoApi, String)

Declaration
public TotdResource(string projectName, string contact, TmIoApi tmIoApi, string apiKey = null)
Parameters
Type Name Description
System.String projectName
System.String contact
TmIoApi tmIoApi
System.String apiKey

Methods

| Improve this Doc View Source

GetMonthAsync(Int32)

Get a month's list of TOTDs.

Declaration
public Task<TmIoTotdMonth> GetMonthAsync(int offset = 0)
Parameters
Type Name Description
System.Int32 offset

Month offset from current month.

Returns
Type Description
Task<TmIoTotdMonth>
| Improve this Doc View Source

GetTodayMapIdAsync()

Get the identifiers for the current TOTD.

Declaration
public Task<TmIoMapId> GetTodayMapIdAsync()
Returns
Type Description
Task<TmIoMapId>
| Improve this Doc View Source

GetTotdAsync()

Get map info of current TOTD.

Declaration
public async Task<TmIoMapInfo> GetTotdAsync()
Returns
Type Description
Task<TmIoMapInfo>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾