TagoIO SDK for JavaScript and TypeScript
    Preparing search index...

    Class TagoCores

    Hierarchy

    Index

    Constructors

    Methods

    • Parameters

      • tagocoreID: string

      Returns Promise<string>

      Permanently removes a TagoCore instance and its configurations.

      const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
      const result = await resources.tagocores.delete("core-id-123");
      console.log(result);
    • Parameters

      • tagoCoreID: string
      • deviceID: string

      Returns Promise<DeviceInfo>

      Retrieves detailed information about a device connected to a Standalone TagoCore instance.

      const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
      const deviceInfo = await resources.tagocores.standaloneDeviceInfo("core-id-123", "device-id-456");
      console.log(deviceInfo);
    • Type Parameters

      Parameters

      • tagoCoreID: string
      • OptionalqueryObj: T

      Returns Promise<DeviceListItem<"name" | "id" | T["fields"][number]>[]>

      Retrieves a list of all devices connected to a Standalone TagoCore instance.

      const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
      const devices = await resources.tagocores.standaloneDeviceList("core-id-123", {
      page: 1,
      fields: ["id", "name", "last_input"],
      amount: 20
      });
      console.log(devices);
    • Parameters

      • tagoCoreID: string

      Returns Promise<string>

      Generates a new authentication token for a TagoCore instance.

      const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
      const token = await resources.tagocores.tokenGenerate("core-id-123");
      console.log(token);