Configures the library for API interactions. Initializes API methods with a specified base URL.
Optional
The base URL for the API.
const api = configure();const power = await api.getPower(jwtToken, macAddress); Copy
const api = configure();const power = await api.getPower(jwtToken, macAddress);
Configures the library for API interactions. Initializes API methods with a specified base URL.