Nekos-Sharp
1.2.0
See the version list below for details.
dotnet add package Nekos-Sharp --version 1.2.0
NuGet\Install-Package Nekos-Sharp -Version 1.2.0
<PackageReference Include="Nekos-Sharp" Version="1.2.0" />
paket add Nekos-Sharp --version 1.2.0
#r "nuget: Nekos-Sharp, 1.2.0"
// Install Nekos-Sharp as a Cake Addin
#addin nuget:?package=Nekos-Sharp&version=1.2.0
// Install Nekos-Sharp as a Cake Tool
#tool nuget:?package=Nekos-Sharp&version=1.2.0
Nekos-Sharp
A C# lib for getting cute nekos, waifus and Foxes from nekos.life
How to use
Install the nuget package here https://www.nuget.org/packages/nekos-sharp
Create an instance of the client
public static NekosSharp.NekosClient NekoClient = new NekosClient("Bot Name Here");`
Then use any of the endpoints
Request Req = await NekoClient.Misc.Cat();
Request Req = await NekoClient.Action.Slap();
Request Req = await NekoClient.Image.Neko();
Request Req = await NekoClient.Nsfw.Neko();
Misc endpoints: 3
Action endpoints: 8
Image endpoints: 10
Nsfw endpoints: 35 mmmhhh
Request
Req.ImageUrl | The url of the requested image
Req.Success | Returns true if the request was successful
Req.ErrorCode | Error code of failed request
Req.ErrorMessage | Error message of failed request
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Newtonsoft.Json (>= 10.0.2)
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 | |
---|---|---|---|
3.5.0 | 3,953 | 1/24/2021 |
Added version number to request header, added dog endpoint, added summary text to all image category endpoints