StepikApiClient 1.0.9
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package StepikApiClient --version 1.0.9
NuGet\Install-Package StepikApiClient -Version 1.0.9
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="StepikApiClient" Version="1.0.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StepikApiClient" Version="1.0.9" />
<PackageReference Include="StepikApiClient" />
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 StepikApiClient --version 1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StepikApiClient, 1.0.9"
#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 StepikApiClient@1.0.9
#: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=StepikApiClient&version=1.0.9
#tool nuget:?package=StepikApiClient&version=1.0.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
StepikApiClientLibrary
Библиотека для взаимодействия со Stepik API
Установка
Подключение
Для подключения бибилотеки в DI-контейнере нужно добавить:
serviceCollection.AddStepikApiClient(sc =>
{
sc.ClientId = Environment.GetEnvironmentVariable("STEPIC_CLIENT_ID");
sc.ClientSecret = Environment.GetEnvironmentVariable("STEPIC_CLIENT_SECRET");
});
Использование
Получение информации о курсе:
var course = apiClient.Courses.GetAsync(courseId);
Получение всех курсов по id автора:
var courses = apiClient.Courses.GetByTeacher(teacherId);
Доступные данные для получения от API:
- Course
- Section
- Unit
- Lesson
- Step
- Submission
- Comment
- Discussion-Thread
- Discussion-Proxy
- Comment
- Course-Review
- Social-Profile
- User
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net9.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.0)
- Microsoft.Extensions.Http (>= 9.0.0)
- Newtonsoft.Json (>= 13.0.3)
- StepikApiClient.Models (>= 1.0.2)
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 |
|---|---|---|
| 1.0.44 | 97 | 10/31/2025 |
| 1.0.43 | 99 | 10/31/2025 |
| 1.0.42 | 165 | 10/27/2025 |
| 1.0.41 | 176 | 10/1/2025 |
| 1.0.40 | 168 | 9/30/2025 |
| 1.0.39 | 173 | 9/29/2025 |
| 1.0.38 | 161 | 9/5/2025 |
| 1.0.36 | 182 | 6/14/2025 |
| 1.0.35 | 303 | 6/12/2025 |
| 1.0.34 | 227 | 6/8/2025 |
| 1.0.33 | 218 | 6/8/2025 |
| 1.0.32 | 219 | 6/8/2025 |
| 1.0.31 | 161 | 6/4/2025 |
| 1.0.30 | 172 | 6/1/2025 |
| 1.0.29 | 120 | 5/2/2025 |
| 1.0.28 | 192 | 4/7/2025 |
| 1.0.27 | 113 | 4/5/2025 |
| 1.0.26 | 153 | 4/4/2025 |
| 1.0.25 | 182 | 3/18/2025 |
| 1.0.24 | 166 | 3/18/2025 |
| 1.0.23 | 140 | 2/27/2025 |
| 1.0.22 | 123 | 2/20/2025 |
| 1.0.21 | 146 | 2/20/2025 |
| 1.0.20 | 129 | 2/19/2025 |
| 1.0.19 | 130 | 2/19/2025 |
| 1.0.18 | 130 | 2/19/2025 |
| 1.0.17 | 135 | 2/16/2025 |
| 1.0.16 | 142 | 2/15/2025 |
| 1.0.15 | 132 | 2/15/2025 |
| 1.0.14 | 144 | 2/11/2025 |
| 1.0.13 | 140 | 1/22/2025 |
| 1.0.12 | 116 | 1/18/2025 |
| 1.0.11 | 110 | 1/9/2025 |
| 1.0.10 | 91 | 1/9/2025 |
| 1.0.9 | 85 | 1/9/2025 |
| 1.0.8 | 126 | 1/6/2025 |
| 1.0.7 | 117 | 1/6/2025 |
| 1.0.6 | 158 | 1/3/2025 |
| 1.0.5 | 134 | 12/29/2024 |
| 1.0.4 | 130 | 12/22/2024 |
| 1.0.3 | 127 | 12/19/2024 |