Show / Hide Table of Contents

Class RoomsResource

Online rooms and servers

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

Constructors

| Improve this Doc View Source

RoomsResource(String, String, String)

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

Methods

| Improve this Doc View Source

GetRoomAsync(Int64)

Get info about a room.

Declaration
public Task<TmIoRoomInfo> GetRoomAsync(long id)
Parameters
Type Name Description
System.Int64 id

ID of the room.

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

GetRoomListAsync(Int32)

Get a list of club rooms.

Declaration
public Task<TmIoRoomsList> GetRoomListAsync(int page = 0)
Parameters
Type Name Description
System.Int32 page

The pagination number.

Returns
Type Description
Task<TmIoRoomsList>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾