StepikApiClient 2.0.0
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 2.0.0
NuGet\Install-Package StepikApiClient -Version 2.0.0
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="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StepikApiClient" Version="2.0.0" />
<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 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StepikApiClient, 2.0.0"
#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@2.0.0
#: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=2.0.0
#tool nuget:?package=StepikApiClient&version=2.0.0
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.10)
- Microsoft.Extensions.Http (>= 9.0.10)
- Newtonsoft.Json (>= 13.0.4)
- StepikApiClient.Models (>= 2.0.0)
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 |
|---|---|---|
| 2.3.0 | 0 | 10/7/2026 |
| 2.2.1 | 0 | 10/7/2026 |
| 2.2.0 | 202 | 7/22/2026 |
| 2.1.9 | 132 | 7/21/2026 |
| 2.1.8 | 117 | 7/21/2026 |
| 2.1.7 | 144 | 7/16/2026 |
| 2.1.6 | 128 | 7/14/2026 |
| 2.1.5 | 117 | 7/13/2026 |
| 2.1.4 | 125 | 7/13/2026 |
| 2.1.3 | 120 | 7/13/2026 |
| 2.1.2 | 157 | 7/3/2026 |
| 2.1.1 | 118 | 7/3/2026 |
| 2.1.0 | 122 | 7/3/2026 |
| 2.0.2 | 157 | 6/12/2026 |
| 2.0.1 | 622 | 4/8/2026 |
| 2.0.0 | 121 | 4/7/2026 |
| 1.0.58 | 127 | 3/17/2026 |
| 1.0.57 | 147 | 2/26/2026 |
| 1.0.56 | 124 | 2/25/2026 |
| 1.0.55 | 131 | 2/25/2026 |
Loading failed