Yande.re.Api
1.0.6
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 Yande.re.Api --version 1.0.6
NuGet\Install-Package Yande.re.Api -Version 1.0.6
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="Yande.re.Api" Version="1.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Yande.re.Api --version 1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Yande.re.Api, 1.0.6"
#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 Yande.re.Api as a Cake Addin #addin nuget:?package=Yande.re.Api&version=1.0.6 // Install Yande.re.Api as a Cake Tool #tool nuget:?package=Yande.re.Api&version=1.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Yande.re.Api
Yande.re / konachan.net / lolibooru.moe random picture api 随机色图Api
C# library for getting random images on yande.re / konachan.net / lolibooru.moe 一个请求 Yande.re / konachan.net / lolibooru.moe 获取色图的 C# 库
Usage 如何使用
public static async void Main()
{
BaseClient client = await YandeClient.CreateNew(); //optional parameter filter by tag 可选 Tag 参数过滤
//KonachanClient
//LolibooruClient
YandeItem item = await client.GetRandom(Rating.Safe);
string imgUrl = item.BigImgUrl; //Source picture url 大图(原图)URL
// Or
foreach (var item in client.PictureList)
{
string imgUrl = await item.GetBigImgUrl(); //Source picture url 大图(原图)URL
}
}
Installation 如何安装
Install as NuGet package
使用NuGet包安装
Install-Package Yande.re.Api
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- HtmlAgilityPack (>= 1.11.45)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
添加对 Konachan 和 Lolibooru 网站的支持