import GboxSDK from "gbox-sdk";
const gboxSDK = new GboxSDK({
apiKey: process.env["GBOX_API_KEY"] // This is the default and can be omitted
});
async function main() {
const box = await gboxSDK.create({ type: "android" });
const androidApp = await box.app.get("com.android.settings"); // package name
await androidApp.close();
}
main();
import GboxSDK from "gbox-sdk";
const gboxSDK = new GboxSDK({
apiKey: process.env["GBOX_API_KEY"] // This is the default and can be omitted
});
async function main() {
const box = await gboxSDK.create({ type: "android" });
const androidApp = await box.app.get("com.android.settings"); // package name
await androidApp.close();
}
main();
Enter your API Key in the format: Bearer <token>. Get it from https://gbox.ai
Was this page helpful?