Documentation

Client
in package

Clients connecting to the ASANA API

Table of Contents

Properties

$guzzle_client  : Client
$user  : array<string|int, mixed>
$workspace  : array<string|int, mixed>
$access_token  : string
$options  : array<string|int, mixed>|array<string|int, string>
$base_url  : string
$instance  : Client

Methods

getInstance()  : self
__construct()  : mixed
checkMe()  : void
Check if connection to ASANA API is possible

Properties

$guzzle_client

public Client $guzzle_client

$user

public array<string|int, mixed> $user

$workspace

public array<string|int, mixed> $workspace

$access_token

protected string $access_token

$options

protected array<string|int, mixed>|array<string|int, string> $options

$base_url

private string $base_url = 'https://app.asana.com/api/1.0/'

Methods

getInstance()

public static getInstance(string $personal_access_token) : self
Parameters
$personal_access_token : string
Tags
throws
ConnectionException
Return values
self

__construct()

private __construct(string $personal_access_token) : mixed
Parameters
$personal_access_token : string
Tags
throws
ConnectionException

        
On this page

Search results