InoDrive / File / readModuleConfig
InoDrive.File.readModuleConfig()
Get Module Configuration File.
Returns: Module Config (Object) Configuration settings of the Module: Name, Network Properties, and Electrical Properties.
// Import InoDrive API Library import { InoDriveApiJS } from ( "ck-inodrive-api" ) // Instatiate the API let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false }) // Instantiate InoDrive Object Drive = await InoDriveApi.InoDrive({target:'Name', autoConnect:True}) // Read Module Configuration File console.log(await Drive.UserApp.readModuleConfig())