StepikApiClient 1.0.26
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.26
NuGet\Install-Package StepikApiClient -Version 1.0.26
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.26" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StepikApiClient" Version="1.0.26" />
<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.26
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StepikApiClient, 1.0.26"
#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.26
#: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.26
#tool nuget:?package=StepikApiClient&version=1.0.26
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.1.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 |
---|---|---|
1.0.36 | 155 | 6/14/2025 |
1.0.35 | 281 | 6/12/2025 |
1.0.34 | 195 | 6/8/2025 |
1.0.33 | 187 | 6/8/2025 |
1.0.32 | 186 | 6/8/2025 |
1.0.31 | 142 | 6/4/2025 |
1.0.30 | 142 | 6/1/2025 |
1.0.29 | 91 | 5/2/2025 |
1.0.28 | 182 | 4/7/2025 |
1.0.27 | 94 | 4/5/2025 |
1.0.26 | 124 | 4/4/2025 |
1.0.25 | 154 | 3/18/2025 |
1.0.24 | 148 | 3/18/2025 |
1.0.23 | 122 | 2/27/2025 |
1.0.22 | 114 | 2/20/2025 |
1.0.21 | 118 | 2/20/2025 |
1.0.20 | 110 | 2/19/2025 |
1.0.19 | 112 | 2/19/2025 |
1.0.18 | 102 | 2/19/2025 |
1.0.17 | 107 | 2/16/2025 |
1.0.16 | 111 | 2/15/2025 |
1.0.15 | 102 | 2/15/2025 |
1.0.14 | 115 | 2/11/2025 |
1.0.13 | 111 | 1/22/2025 |
1.0.12 | 98 | 1/18/2025 |
1.0.11 | 101 | 1/9/2025 |
1.0.10 | 75 | 1/9/2025 |
1.0.9 | 77 | 1/9/2025 |
1.0.8 | 109 | 1/6/2025 |
1.0.7 | 110 | 1/6/2025 |
1.0.6 | 129 | 1/3/2025 |
1.0.5 | 104 | 12/29/2024 |
1.0.4 | 112 | 12/22/2024 |
1.0.3 | 110 | 12/19/2024 |