StudyfetchSDK 0.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package StudyfetchSDK --version 0.0.2
                    
NuGet\Install-Package StudyfetchSDK -Version 0.0.2
                    
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="StudyfetchSDK" Version="0.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StudyfetchSDK" Version="0.0.2" />
                    
Directory.Packages.props
<PackageReference Include="StudyfetchSDK" />
                    
Project file
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 StudyfetchSDK --version 0.0.2
                    
#r "nuget: StudyfetchSDK, 0.0.2"
                    
#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 StudyfetchSDK@0.0.2
                    
#: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=StudyfetchSDK&version=0.0.2
                    
Install as a Cake Addin
#tool nuget:?package=StudyfetchSDK&version=0.0.2
                    
Install as a Cake Tool

Studyfetch SDK C# API Library

The Studyfetch SDK C# API Library is currently in beta and we're excited for you to experiment with it!

This library has not yet been exhaustively tested in production environments and may be missing some features you'd expect in a stable release. As we continue development, there may be breaking changes that require updates to your code.

We'd love your feedback! Please share any suggestions, bug reports, feature requests, or general thoughts by filing an issue.

The Studyfetch SDK C# SDK provides convenient access to the Studyfetch SDK REST API from applications written in C#.

It is generated with Stainless.

The REST API documentation can be found on studyfetch.com.

Installation

dotnet add package StudyfetchSDK

Requirements

This library requires .NET 8 or later.

The library is currently in beta. The requirements will be lowered in the future.

Usage

See the examples directory for complete and runnable examples.

using ContentProperties = StudyfetchSDK.Models.V1.Materials.MaterialCreateParamsProperties.ContentProperties;
using StudyfetchSDK;
using StudyfetchSDK.Models.V1.Materials;
using System;

// Configured using the STUDYFETCH_SDK_API_KEY and STUDYFETCH_SDK_BASE_URL environment variables
StudyfetchSDKClient client = new();

MaterialCreateParams parameters = new()
{
    Content = new(ContentProperties::Type.Text),
    Name = "Chapter 1 - Introduction",
};

var material = await client.V1.Materials.Create(parameters);

Console.WriteLine(material);

Client Configuration

Configure the client using environment variables:

using StudyfetchSDK;

// Configured using the STUDYFETCH_SDK_API_KEY and STUDYFETCH_SDK_BASE_URL environment variables
StudyfetchSDKClient client = new();

Or manually:

using StudyfetchSDK;

StudyfetchSDKClient client = new() { APIKey = "My API Key" };

Or using a combination of the two approaches.

See this table for the available options:

Property Environment variable Required Default value
APIKey STUDYFETCH_SDK_API_KEY true -
BaseUrl STUDYFETCH_SDK_BASE_URL true "https://studyfetchapi.com"

Requests and responses

To send a request to the Studyfetch SDK API, build an instance of some Params class and pass it to the corresponding client method. When the response is received, it will be deserialized into an instance of a C# class.

For example, client.V1.Materials.Create should be called with an instance of MaterialCreateParams, and it will return an instance of Task<MaterialCreateResponse>.

Semantic versioning

This package generally follows SemVer conventions, though certain backwards-incompatible changes may be released as minor versions:

  1. Changes to library internals which are technically public but not intended or documented for external use. (Please open a GitHub issue to let us know if you are relying on such internals.)
  2. Changes that we do not expect to impact the vast majority of users in practice.

We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.

We are keen for your feedback; please open an issue with questions, bugs, or suggestions.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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.
  • net8.0

    • No dependencies.

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
0.8.10 2,939 5/12/2026
0.8.9 1,746 4/22/2026
0.8.8 1,851 4/15/2026
0.8.7 190 4/7/2026
0.8.6 92 4/7/2026
0.8.5 3,483 3/9/2026
0.8.3 10,838 12/2/2025
0.8.2 2,804 11/21/2025
0.8.1 2,266 10/21/2025
0.8.0 189 10/21/2025
0.7.0 2,238 10/8/2025
0.6.1 2,357 9/24/2025
0.6.0 191 9/24/2025
0.5.0 197 9/23/2025
0.4.0 196 9/23/2025
0.3.1 681 8/21/2025
0.3.0 190 8/21/2025
0.2.0 194 8/19/2025
0.1.0 191 8/19/2025
0.0.2 246 8/8/2025