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

    Class Resources

    Main API resource manager for TagoIO

    This class provides access to all TagoIO API resources including devices, analyses, dashboards, users, billing, and more. It serves as the central hub for managing your TagoIO account and resources using your account token.

    import { Resources } from "@tago-io/sdk";

    const resources = new Resources({ token: "your-account-token" });

    // List all devices
    const devices = await resources.devices.list();

    // Create a new device
    const newDevice = await resources.devices.create({
    name: "My Device",
    connector: "my-connector-id"
    });
    // Using static methods for one-off operations
    const devices = await Resources.devices.list();
    const account = await Resources.account.info();
    const resources = new Resources({ token: "account-token" });

    // Manage dashboards
    const dashboards = await resources.dashboards.list();

    // Manage users and access
    const profile = await resources.profile.info();
    const billing = await resources.billing.getUsageQuota();
    Index

    Constructors

    Properties

    accessManagement: Access = ...
    account: Account = ...
    actions: Actions = ...
    analysis: Analyses = ...
    billing: Billing = ...
    buckets: Buckets = ...
    dashboards: Dashboards = ...
    devices: Devices = ...
    dictionaries: Dictionaries = ...
    entities: Entities = ...
    files: Files = ...
    integration: Integration = ...
    notifications: Notifications = ...
    paymentHistory: PaymentHistory = ...
    paymentMethods: PaymentMethods = ...
    plan: Plan = ...
    profiles: Profile = ...
    run: Run = ...
    secrets: Secrets = ...
    serviceAuthorization: ServiceAuthorization = ...
    tagocores: TagoCores = ...
    tags: Tags = ...
    template: Template = ...

    Accessors