Skip to content
On this page

APIWrapper (Class)

The APIWrapper class provides a method to obtain an instance of the SWAGAPI class with the specified options.

Methods

getInstance

Returns an instance of the SWAGAPI class configured with the provided options.

ParameterTypeDescription
optionsSWAGAPIOptionsConfiguration options for the API instance.
ReturnsTypeDescription
SWAGAPIThe configured SWAGAPI instance.

Usage

Used to obtain and configure the main API instance for SDK operations.