Trello REST API includes endpoints for actions, boards, cards, checklists, labels, lists, members, notifications, organizations, search functionality, sessions, tokens, and webhooks - essentially covering all aspects of the Trello project management platform.
Project description
Getting Started with Trello
Introduction
This document describes the REST API of Trello as published by Trello.com.
Find out more here: https://developers.trello.com
Install the Package
The package is compatible with Python versions 3.7+.
Install the package from PyPi using the following pip command:
pip install trello-sdk==1.0.0
You can also view the package at: https://pypi.python.org/pypi/trello-sdk/1.0.0
Initialize the API Client
Note: Documentation for the client can be found here.
The following parameters are configurable for the API Client:
| Parameter | Type | Description |
|---|---|---|
| http_client_instance | HttpClient |
The Http Client passed from the sdk user for making requests |
| override_http_client_configuration | bool |
The value which determines to override properties of the passed Http Client from the sdk user |
| http_call_back | HttpCallBack |
The callback value that is invoked before and after an HTTP call is made to an endpoint |
| timeout | float |
The value to use for connection timeout. Default: 60 |
| max_retries | int |
The number of times to retry an endpoint call if it fails. Default: 0 |
| backoff_factor | float |
A backoff factor to apply between attempts after the second try. Default: 2 |
| retry_statuses | Array of int |
The http statuses on which retry is to be done. Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524] |
| retry_methods | Array of string |
The http methods on which retry is to be done. Default: ['GET', 'PUT'] |
| api_key_credentials | ApiKeyCredentials |
The credential object for Custom Query Parameter |
| api_token_credentials | ApiTokenCredentials |
The credential object for Custom Query Parameter |
The API client can be initialized as follows:
from trello.configuration import Environment
from trello.http.auth.api_key import ApiKeyCredentials
from trello.http.auth.api_token import ApiTokenCredentials
from trello.trello_client import TrelloClient
client = TrelloClient(
api_key_credentials=ApiKeyCredentials(
key='key'
),
api_token_credentials=ApiTokenCredentials(
token='token'
),
environment=Environment.PRODUCTION
)
Authorization
This API uses the following authentication schemes.
List of APIs
- Action
- Batch
- Board
- Card
- Checklist
- Label
- List
- Member
- Notification
- Organization
- Search
- Session
- Token
- Type
- Webhook
SDK Infrastructure
HTTP
Utilities
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trello_sdk-1.0.0.tar.gz.
File metadata
- Download URL: trello_sdk-1.0.0.tar.gz
- Upload date:
- Size: 74.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91e8e12dcbecb8564006a0f51f10123314b6c52712dee321a8e12584d7d7243d
|
|
| MD5 |
0a4a838dce88569db6cde1a165956201
|
|
| BLAKE2b-256 |
e93876752352d93c290f47e6dc1897e03a966386f727d154cf109fd81613bec4
|
File details
Details for the file trello_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: trello_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 197.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d5874ed07d7124162a392fcb12598479bbd3ef42e680ecfed0e684b93c2aea8
|
|
| MD5 |
d54c7f2ac3241dbf9fa53681767e39b7
|
|
| BLAKE2b-256 |
76c3e5a1a9af00e73ed19f3367d24d738984bd1b89a2596480b60712c2a65d36
|