Get ID of a resource.
Arguments
- url
Complete url, short url or just the url ID part of a Trello board
- token
Secure token, see
get_token()
Examples
# Get Trello Development Roadmap board ID
url = "https://trello.com/b/nC8QJJoZ/trello-development-roadmap"
tdr_id = get_id_board(url)
#> GET: https://api.trello.com/1/board/nC8QJJoZ?fields=name&limit=100
#>
|
| | 0%
|
|======================================================================| 100%
#> OK (HTTP 200).
# Also works:
url = "nC8QJJoZ"
tdr_id = get_id_board(url)
#> GET: https://api.trello.com/1/board/nC8QJJoZ?fields=name&limit=100
#>
|
| | 0%
|
|======================================================================| 100%
#> OK (HTTP 200).