Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
/ Nekos-Sharp Public archive

A C# lib for getting cute nekos, waifus and Foxes from nekos.life v2 and v3 support!

License

Notifications You must be signed in to change notification settings

Nekos-life/Nekos-Sharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Notice!

All nsfw content has been removed from this API and the nsfw endpoints will not work. This repo will be archived.

Create an instance of the client

public static NekosSharp.NekosClient NekoClient = new NekosClient("Bot Name Here");`

Version 3 of nekos.life is here you can use them with THIS HAS NOT BEEN UPDATED YET!

Request Req = await NekoClient.Misc_v3.Cat();
Request Req = await NekoClient.Action_v3.Slap();
Request Req = await NekoClient.Image_v3.Neko();
Request Req = await NekoClient.Nsfw_v3.Neko();

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: 5

Action endpoints: 8

Image endpoints: 10

Nsfw endpoints: 34 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

About

A C# lib for getting cute nekos, waifus and Foxes from nekos.life v2 and v3 support!

Resources

License

Stars

Watchers

Forks

Languages