Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 

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