Skip to main content
Version: 2.4

Return API version

Returns the API version, the connected Gateway URL and all available functions for the respective version.

// Simply...
console.log(API)
This also works in offline mode.

Example

const AvnApi = require("avn-api");
const api = new AvnApi();

(async () => {
await api.init();
console.log(api);
})();