Yande.re.Api 1.0.7

dotnet add package Yande.re.Api --version 1.0.7                
NuGet\Install-Package Yande.re.Api -Version 1.0.7                
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.7" />                
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.7                
#r "nuget: Yande.re.Api, 1.0.7"                
#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.7

// Install Yande.re.Api as a Cake Tool
#tool nuget:?package=Yande.re.Api&version=1.0.7                

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
            PictureItem 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 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Yande.re.Api:

Repository Stars
Alex1911-Jiang/GreenOnions
一个Mirai的QQ机器人, 实现了搜图, RSS订阅转发, 根据PixivID下载原图, 翻译, setu等功能
Version Downloads Last updated
1.0.7 401 1/24/2023
1.0.6 303 1/24/2023
1.0.5 284 1/18/2023
1.0.4 519 9/7/2022

添加对 Konachan 和 Lolibooru 网站的支持