Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Trello

import { Trello } from "https://git.sr.ht/~ruivieira/deno-experiments/blob/master/common/tasks/trello.ts";
class Trello {
constructor(key: string, token: string);
private key: string;
private token: string;
 
createQuery(): TrelloRequest;
async getBoards(memberId: string): Promise<TrelloBoard[]>;
getCard(boardId: string | null, cardId: string): Promise<Response>;
async getCardsForList(listId: string, actions?: string): Promise<TrelloCard[]>;
async getCardsOnBoard(boardId: string): Promise<TrelloCard[]>;
getChecklistsOnCard(cardId: string): Promise<Response>;
async getListsOnBoard(boardId: string): Promise<TrelloList[]>;
getMember(memberId: string): Promise<Response>;
async getMemberCards(memberId: string): Promise<TrelloCard[]>;
 
static public URI: string;
 
static private async getRequest(uri: string, query: any): Promise<Response>;
static private objectToQuery(obj: any): string;
}

§Constructors

§
new Trello(key: string, token: string)
[src]

§Properties

§
key: string
[src]
§
token: string
[src]

§Methods

§
createQuery(): TrelloRequest
[src]
§
getBoards(memberId: string): Promise<TrelloBoard[]>
[src]
§
getCard(boardId: string | null, cardId: string): Promise<Response>
[src]
§
getCardsForList(listId: string, actions?: string): Promise<TrelloCard[]>
[src]
§
getCardsOnBoard(boardId: string): Promise<TrelloCard[]>
[src]
§
getChecklistsOnCard(cardId: string): Promise<Response>
[src]
§
getListsOnBoard(boardId: string): Promise<TrelloList[]>
[src]
§
getMember(memberId: string): Promise<Response>
[src]
§
getMemberCards(memberId: string): Promise<TrelloCard[]>
[src]

§Static Properties

§
URI: string
[src]

§Static Methods

§
getRequest(uri: string, query: any): Promise<Response> private
[src]
§
objectToQuery(obj: any): string private
[src]