Skip to content
Ricky Setiawan edited this page Nov 26, 2020 · 2 revisions

The structure of library:

Booru

The base class (abstract class) for all template and client.

Template

Template is how to process all algorithm and handle response(JSON) from booru website.

Example of template:

  • BooruDex.Booru.Template.Danbooru
  • BooruDex.Booru.Template.Gelbooru
  • BooruDex.Booru.Template.Gelbooru02
  • BooruDex.Booru.Template.Moebooru

All of template override the method from Booru, by default all method from Booru will throw exception. So when the Client method is called and not support the API it will throw exception.

Client

Booru website like danbooru.donmai.us. Its all method inherit from Template.

Clone this wiki locally