Merge branch 'master' of https://github.com/exsersewo/Booru.Net
This commit is contained in:
26
README.md
26
README.md
@@ -14,9 +14,22 @@ Currently supported Boards are:
|
||||
# How to get started
|
||||
|
||||
```cs
|
||||
var BooruClient = new BooruClient();
|
||||
var GelbooruClient = new GelbooruClient();
|
||||
|
||||
var posts = await BooruClient.GetGelbooruImagesAsync("aisha_clanclan", "melfina");
|
||||
var posts = await GelbooruClient.GetImagesAsync("aisha_clanclan", "melfina");
|
||||
|
||||
if(posts != null)
|
||||
{
|
||||
...
|
||||
}
|
||||
|
||||
List<string> tags = new List<string>
|
||||
{
|
||||
"aisha_clanclan",
|
||||
"melfina"
|
||||
};
|
||||
|
||||
posts = await GelbooruClient.GetImagesAsync(tags);
|
||||
|
||||
if(posts != null)
|
||||
{
|
||||
@@ -24,14 +37,5 @@ if(posts != null)
|
||||
}
|
||||
```
|
||||
|
||||
List of Methods in Wrapper:
|
||||
- `GetGelbooruImagesAsync(IEnumerable<string> tags)`
|
||||
- `GetDanbooruImagesAsync(IEnumerable<string> tags)`
|
||||
- `GetRule34ImagesAsync(IEnumerable<string> tags)`
|
||||
- `GetE621ImagesAsync(IEnumerable<string> tags)`
|
||||
- `GetKonaChanImagesAsync(IEnumerable<string> tags)`
|
||||
- `GetYandereImagesAsync(IEnumerable<string> tags)`
|
||||
- `GetRealBooruImagesAsync(IEnumerable<string> tags)`
|
||||
|
||||
# Contributing
|
||||
If you wish to add more booru's to the wrapper/make the code better/optimise the code, please fork your own version and pull-request it. If you are planning on adding another booru to the wrapper, please do it in a similar style to the currently existing methods.
|
||||
|
||||
Reference in New Issue
Block a user