- README in other languages - RU, EN
- Примеры работы с библиотекой
Создание WotApi
- Параметры
- Token - Токен для Wargaming Api. Получить его можно тут - Wargaming Application.
- Region - Регион Wargaming Api. Доступные - RU, EU, NA, ASIA.
WotApi.Create(Token, Region);
Выполнение запроса
- Обобщения
- T - Класс ответа. Класс должен быть унаследован от ResponseClass и иметь аттрибут ResponseAttribute. Такие классы указаны ниже, в таблице классов.
- Параметры
- Search - Обьект для поиска. Например ID игрока. Указывать не обязательно.
- Page - Номер страницы. По умолчанию первая. Указывать не обязательно.
- Parameters - Словарь с дополнительными параметрами. Указывать не обязательно.
T Response = T.GetAll(Search, Page, Parameters);