1.1.0 • Published 6 months ago

infinity_aist v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

Infinity_AIST Node.js Module

The Infinity_AIST Node.js module provides a convenient way to interact with the Infinity project management software API. This module simplifies making requests to the Infinity API by encapsulating common actions into easy-to-use methods.

Installation

To use this module in your Node.js project, you can install it via npm:

npm install infinity_aist

Usage

Import the module into your Node.js application:

const Infinity = require('infinity_aist');

Initialization

To use the Infinity module, you need to create an instance of it by providing the required parameters:

const infinity = new Infinity({
  host: 'https://app.startinfinity.com/', // Infinity API host (optional, defaults to the Infinity cloud host)
  token: 'YOUR_API_TOKEN', // Your Infinity API token (required)
});

Available Methods

Get Workspaces

Retrieve a list of workspaces associated with your Infinity account.

infinity.getWorkspaces()
  .then((workspaces) => {
    // Handle the list of workspaces
  })
  .catch((error) => {
    // Handle errors
  });

Get Attributes

Retrieve attributes (columns) of a specific board within a workspace.

const params = {
  workspaceID: 'WORKSPACE_ID', // ID of the workspace (required)
  boardID: 'BOARD_ID', // ID of the board (required)
};

infinity.getAttributes(params)
  .then((attributes) => {
    // Handle the list of attributes
  })
  .catch((error) => {
    // Handle errors
  });

Get Items

Retrieve items (tasks) from a specific board within a workspace.

const params = {
  workspaceID: 'WORKSPACE_ID', // ID of the workspace (required)
  boardID: 'BOARD_ID', // ID of the board (required)
  options: {}, // Additional query parameters (optional)
};

infinity.getItems(params)
  .then((items) => {
    // Handle the list of items
  })
  .catch((error) => {
    // Handle errors
  });

More Methods

The module provides several other methods for interacting with workspaces, boards, items, folders, and more. Refer to the source code for a complete list of available methods.

License

This Infinity Node.js module is released under the MIT License.

Issues

If you encounter any problems or have questions about using this module, please feel free to open an issue on GitHub.


You can customize this README to include more details or specific usage examples based on your module's features and requirements. Be sure to replace placeholders like YOUR_API_TOKEN, WORKSPACE_ID, and BOARD_ID with actual values where necessary.

1.1.0

6 months ago

1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

7 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago