Introduction
Before a request can be send, a client must be configured. This library does support the default conventions for Boomack API Client configuration. Meaning, it can read configuration from JSON/YAML configuration files from custom locations and from default locations, and it can read configuration options from environment variables. How to load and combine the configuration from the different sources is explained below in Loading Configuration.
This Boomack API client library does support the following kinds of interaction with a Boomack server:
- Configuration Requests
- Panel Management
- Preset Management
- Media Type Management
- Action Management
- Content Requests
- Display
- Clear
- Evaluate
The API of the library does in some cases support two different styles:
- Basic Style
You first instantiate an object and then use the properties of the object directly to set up the desired state. This style is imperative and does not support all convenience methods. - Fluent Style
You use a builder object with a number of convenient methods to prepare the state of the object and call a build method in the end to get the configured object. This style integrates better with a functional programming style and provides the most comfort.
In the examples both styles are demonstrated, if available. The examples make use of Top-level statements from C# 10 to reduce the code size.
Next: Get Started