InoDrive / Discover / getInfo


InoDrive.Discover.getInfo()

Retrieve a Connected Module’s Information.

Returns:
Discover (object): Contains Information about the Serial Number, Name, Firmware Version, Network Information, and more

// Import InoDrive API Library
import { InoDriveApiJS }  from "ck-inodrive-api" 

// Instatiate the API
let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false })

// Instantiate InoDrive Object
let Drive = await InoDriveApi.InoDrive({ target: "Name", autoConnect: true })

// Discover Module Information
await Drive.Discover.getInfo()