- This file contains every Artilities.ArtilitiesClient() function / method nicely wrapped up
- In case some values turn out like "??? ?? ????", set your output encoding to UTF-8 (Console-App Example:
Console.OutputEncoding = System.Text.Encoding.UTF8;
)
ArtilitiesClient
The Artilities.ArtilitiesClient() Object is a crucial part to interact with the Artilities API, as there needs to be an instance of it to work.
- ignoreNonOK : bool (default: false) : If turned to true, the library will not throw Exceptions on Non-HttpOK responses
Artilities.ArtilitiesClient artClient = new Artilities.ArtilitiesClient(); // We will use this ArtilitiesClient for the rest of the examples
- Nothing
GetIdea()
This function allows you to retrieve an Artilities Art-Idea
var Idea = artClient.GetIdea();
Console.WriteLine($"My Art Idea: {Idea.english}");
- Artilities.Objects.DefaultResponse