Module asana

ballerinax/asana Ballerina library

1.6.1

Overview

This is a generated connector for Asana API v1.0 OpenAPI specification.

This API enables you to help teams organize, track and manage their work. For additional help getting started with the API, visit Asana API.

Prerequisites

Before using this connector in your Ballerina application, complete the following:

Quickstart

To use the Asana connector in your Ballerina application, update the .bal file as follows:

Step 1: Import connector

Import the ballerinax/asana module into the Ballerina project.

Copy
import ballerinax/asana;

Step 2: Create a new connector instance

Copy
configurable http:BearerTokenConfig & readonly auth = ?;

asana:ClientConfig clientConfig = {
    auth : auth
    };

asana:Client myclient = check new asana:Client(clientConfig, "https://app.asana.com/api/1.0");

Step 3: Invoke connector operation

  1. You can get tasks related to a specific project.
    Copy
    asana:InlineResponse20018 result = check myclient->getTasks(completedSince="2021-07-16T01:25:40+05:30", project="1200611263773935");
  2. Use bal run command to compile and run the Ballerina program.

Import

import ballerinax/asana;Copy

Metadata

Released date: 10 months ago

Version: 1.6.1

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.4.1

GraalVM compatible: Yes


Pull count

Total: 

Current verison: 275


Weekly downloads


Source repository


Keywords

Productivity/Project Management
Cost/Freemium

Contributors

Other versions

See more...