JoinRpg.Common.KogdaIgraClient
2026.9.533
dotnet add package JoinRpg.Common.KogdaIgraClient --version 2026.9.533
NuGet\Install-Package JoinRpg.Common.KogdaIgraClient -Version 2026.9.533
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JoinRpg.Common.KogdaIgraClient" Version="2026.9.533" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JoinRpg.Common.KogdaIgraClient" Version="2026.9.533" />
<PackageReference Include="JoinRpg.Common.KogdaIgraClient" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add JoinRpg.Common.KogdaIgraClient --version 2026.9.533
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JoinRpg.Common.KogdaIgraClient, 2026.9.533"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package JoinRpg.Common.KogdaIgraClient@2026.9.533
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=JoinRpg.Common.KogdaIgraClient&version=2026.9.533
#tool nuget:?package=JoinRpg.Common.KogdaIgraClient&version=2026.9.533
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
JoinRpg.Common.KogdaIgraClient
HTTP-клиент к API kogda-igra.ru — календаря ролевых игр.
dotnet add package JoinRpg.Common.KogdaIgraClient
Нужен net10.0, всё лежит в JoinRpg.Common.KogdaIgraClient.
services.AddKogdaIgraClient();
services.Configure<KogdaIgraOptions>(configuration.GetSection("KogdaIgra"));
"KogdaIgra": {
"HostName": "https://kogda-igra.ru"
}
HostName обязателен: без него любой вызов падает с KogdaIgraConnectException. Для разработки есть https://dev.kogda-igra.ru.
IKogdaIgraApiClient
GetGameInfo(int gameId)— карточка игры (KogdaIgraGameInfo: название, даты, регион, мастерская группа, ссылки на сайт и соцсети).null— игры нет, у неё нет продолжительности или ссылка на сайт не http(s). Удалённая на КогдаИгре игра приходит с данными иIsDeleted = true.GetChangedGamesSince(DateTimeOffset since)— Id и время правки игр, изменённых послеsince; переадресации и записи без даты пропускаются. Перевод в московское время, которого ждёт API, клиент делает сам.
Ошибки
KogdaIgraConnectException— сеть, таймаут или код ответа не 2xx.KogdaIgraParseException— ответ не разобрался или вместо карточки пришла чужая запись; вId— запрошенная игра (0 для списка изменений).KogdaIgraEmptyResponseException— пустой ответ вместо JSON.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.Configuration (>= 10.0.14)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Http (>= 10.0.14)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.9.533 | 443 | 10/29/2026 |
| 2026.9.438 | 205 | 10/27/2026 |
| 2026.9.363 | 96 | 10/22/2026 |
| 2026.9.217 | 144 | 10/16/2026 |
| 2026.8.421 | 151 | 10/4/2026 |
| 2026.8.383 | 111 | 10/4/2026 |
| 2026.8.256 | 127 | 9/29/2026 |
| 2026.8.12 | 221 | 9/6/2026 |
| 2026.8.0 | 136 | 9/2/2026 |
| 2026.7.34 | 132 | 8/26/2026 |
| 2026.7.32 | 146 | 8/26/2026 |
| 2026.7.14 | 173 | 8/24/2026 |
| 2026.7.10 | 134 | 8/23/2026 |
| 2026.5.26 | 254 | 8/4/2026 |
| 2026.3.87 | 223 | 5/12/2026 |