Skip to content

veldtech/dotnet-imghoard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Mikibot/imghoard API implementation in C#

.Net Imghoard

Build status

Environment Platform PlatformN
env_release

Getting started

Here's how to get started with .Net Imghoard

//Use Default Settings
ImghoardClient client = new ImghoardClient();
//Pass in config to constructor
ImghoardClient client = new ImghoardClient(new Config() {
  Endpoint = "https://imghoard.example.com"
});

//Get All Images Without Tags
var images = await client.GetImagesAsync();
//Get All Images Of Specfic Tag
var images = await client.GetImagesAsync("animal");
//Get All Images Of Specfic Tag on a specific page (0-index based)
var images = await client.GetImagesAsync(1, "animal");
//Get All Images Of Specific Tag Excluding Tag
var images = await client.GetImagesAsync("animal", "-cat");
//Get A specific image by it's Id
var image = await client.GetImageAsync(1169529585188999168);

//Posts A new Image
var imageurl = await client.PostImage(imageByteSpan, "supercool", "image", "with", "amazing", "tags");

About

Imghoard C# API Implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages