NHentaiAPI 1.7.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 NHentaiAPI --version 1.7.0
NuGet\Install-Package NHentaiAPI -Version 1.7.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="NHentaiAPI" Version="1.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NHentaiAPI --version 1.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NHentaiAPI, 1.7.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.
// Install NHentaiAPI as a Cake Addin #addin nuget:?package=NHentaiAPI&version=1.7.0 // Install NHentaiAPI as a Cake Tool #tool nuget:?package=NHentaiAPI&version=1.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
NHentaiAPI
A (full) nHentai API implementation for .NET
If N-Hentai change the api format, please throw a issue to let me know 😃
Check out my other projects
- Mewdeko https://github.com/Sylveon76/Mewdeko
- MartineApi https://github.com/Sylveon76/MartineApi.Net
- NekosBestApi https://github.com/Sylveon76/Nekos.Best-API
This package can get
Search:
Home page search result
Search result by
keyword
Search result by
tag
, can be sort by popularSearch tags can be filtered by putting
-
in front of them
Book detail:
Book detail
Related book
Picture:
- Page picture (preview picture, thumbnail and origin picture)
- Cover picture (preview picture and thumbnail)
Demo
Search book:
//generate client
var client = new NHentaiClient();
//https://nhentai.net/api/galleries/search?query=school%20swimsuit%20loli%20full%20color&page=2
var result = await client.GetSearchPageListAsync("school swimsuit full color -loli",2);
Get book detail:
//generate client
var client = new NHentaiClient();
//get book no 123
var book = await client.GetBookAsync(123);
Get cover and image:
//get book no 123
var book = await client.GetBookAsync(123);
//https://i.nhentai.net/galleries/635/1.jpg
byte[] picture = await client.GetPictureAsync(book, 1);
//https://i.nhentai.net/galleries/635/1.jpg
byte[] cover = await client.GetBigCoverPictureAsync(book);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. 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.
-
net5.0
- FlareSolverrSharp (>= 2.2.6)
- Newtonsoft.Json (>= 13.0.1)
-
net6.0
- FlareSolverrSharp (>= 2.2.6)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
[1.5.0]
Refactor api client