get_id: Get model ID

Description Usage Arguments Examples

Description

Get ID of a resource.

Usage

1
2
3
get_id_board(url, token = NULL)

get_id_card(url, token = NULL)

Arguments

url

Complete url, short url or just the url ID part of a Trello board

token

Secure token, see get_token()

Examples

1
2
3
4
5
6
7
# Get Trello Development Roadmap board ID
url = "https://trello.com/b/nC8QJJoZ/trello-development-roadmap"
tdr_id = get_id_board(url)

# Also works:
url = "nC8QJJoZ"
tdr_id = get_id_board(url)

trelloR documentation built on April 22, 2021, 1:07 a.m.