Modrinth.RestClient 2.5.4

Suggested Alternatives

Modrinth.Net

Additional Details

This package is deprecated. Please use the new package "Modrinth.Net" instead. It has the same base functionality, but with a new name and namespace.
How to upgrade is explained in the README.md file of the new package in the "Upgrade from 2.X.X to 3.0.0" section for Modrinth.Net version 3.0.1.

There is a newer version of this package available.
See the version list below for details.
dotnet add package Modrinth.RestClient --version 2.5.4                
NuGet\Install-Package Modrinth.RestClient -Version 2.5.4                
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="Modrinth.RestClient" Version="2.5.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Modrinth.RestClient --version 2.5.4                
#r "nuget: Modrinth.RestClient, 2.5.4"                
#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.
// Install Modrinth.RestClient as a Cake Addin
#addin nuget:?package=Modrinth.RestClient&version=2.5.4

// Install Modrinth.RestClient as a Cake Tool
#tool nuget:?package=Modrinth.RestClient&version=2.5.4                

Modrinth.RestClient

Nuget (with prereleases)

  • Modrinth API wrapper using RestEase library

Usage

  • All methods are asynchronous
using Modrinth.RestClient;

// Modrinth recommends to set a uniquely-identifying user-agent
var api = ModrinthApi.NewClient(userAgent: "My_Awesome_Project");

var project = await api.GetProjectAsync("sodium");
        
Console.WriteLine(project.Description);

Info

  • As of right now, this does not cover every endpoint, but rather most of the common GET endpoints
    • So it can only get information, not upload
  • For API specification see here
  • For getting response status code, which do not indicate success, see here
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.5.6 436 1/8/2023 2.5.6 is deprecated because it is no longer maintained.
2.5.5 381 12/20/2022 2.5.5 is deprecated because it is no longer maintained.
2.5.4 550 11/21/2022 2.5.4 is deprecated because it is no longer maintained.
2.5.3 521 10/23/2022 2.5.3 is deprecated because it is no longer maintained.
2.5.2 589 10/17/2022 2.5.2 is deprecated because it is no longer maintained.
2.5.1 527 9/27/2022 2.5.1 is deprecated because it is no longer maintained.
2.5.0 551 9/27/2022 2.5.0 is deprecated because it is no longer maintained.
2.4.0 500 9/24/2022 2.4.0 is deprecated because it is no longer maintained.
2.3.1 522 9/18/2022 2.3.1 is deprecated because it is no longer maintained.
2.2.5 497 9/17/2022 2.2.5 is deprecated because it is no longer maintained.
2.2.4 492 9/9/2022 2.2.4 is deprecated because it is no longer maintained.
2.2.2 531 8/28/2022 2.2.2 is deprecated because it is no longer maintained.
2.2.1 455 8/28/2022 2.2.1 is deprecated because it is no longer maintained.
2.1.0 592 7/7/2022 2.1.0 is deprecated because it is no longer maintained.
2.0.0 532 7/4/2022 2.0.0 is deprecated because it is no longer maintained.
1.1.1 528 6/29/2022 1.1.1 is deprecated because it is no longer maintained.
1.1.0 529 6/25/2022 1.1.0 is deprecated because it is no longer maintained.
1.0.4 500 6/22/2022 1.0.4 is deprecated because it is no longer maintained.
1.0.3 477 6/17/2022 1.0.3 is deprecated because it is no longer maintained.
1.0.2 495 6/16/2022 1.0.2 is deprecated because it is no longer maintained.
1.0.0 492 6/15/2022 1.0.0 is deprecated because it is no longer maintained.

Fix search with multiple words searching only for the first word