- README in other languages - RU, EN
- Examples of working with the library
Creating WotApi
- Parameters
- Token - Token for Wargaming Api. You can get it here - Wargaming Application.
- Region - Wargaming Api Region. Available - RU, EU, NA, ASIA.
WotApi.Create(Token, Region);
Request execution
- Generic
- T - Response Class. A class must be inherited from ResponseClass and have an attribute ResponseAttribute. Such classes are listed below in the class table.
- Parameters
- Search - Object to search for. For example, the player ID. It is not necessary to specify.
- Page - Page number. By default, the first one. It is not necessary to specify.
- Parameters - Dictionary with additional parameters. It is not necessary to specify.
T Response = T.GetAll(Search, Page, Parameters);