Skip to content
Imghoard C# API Implementation
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
src
.gitignore

README.md

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 String Or Uri into constructor
ImghoardClient client = new ImghoardClient("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 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(imageStream, "supercool", "image", "with", "amazing", "tags");
You can’t perform that action at this time.