From 4e6b8b2de82cc35dcfe9c39f55e96a0be6b9305e Mon Sep 17 00:00:00 2001 From: exsersewo Date: Sat, 28 Mar 2020 12:40:29 +0000 Subject: [PATCH] Update README.md --- README.md | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 062fbc7..e245b64 100644 --- a/README.md +++ b/README.md @@ -14,24 +14,28 @@ 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 of Methods in Wrapper: -- `GetGelbooruImagesAsync(IEnumerable tags)` -- `GetDanbooruImagesAsync(IEnumerable tags)` -- `GetRule34ImagesAsync(IEnumerable tags)` -- `GetE621ImagesAsync(IEnumerable tags)` -- `GetKonaChanImagesAsync(IEnumerable tags)` -- `GetYandereImagesAsync(IEnumerable tags)` -- `GetRealBooruImagesAsync(IEnumerable tags)` +List tags = new List +{ + "aisha_clanclan", + "melfina" +}; + +posts = await GelbooruClient.GetImagesAsync(tags); + +if(posts != null) +{ + ... +} +``` # 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.