In [1]:
import requests
In [2]:
board = requests.get('https://api.trello.com/1/boards/5a95bb8ad062ac9428574ec0')
board.ok
Out[2]:
True
In [3]:
board.json()
Out[3]:
{'closed': False,
'desc': '',
'descData': None,
'id': '5a95bb8ad062ac9428574ec0',
'idOrganization': None,
'labelNames': {'black': '',
'blue': '',
'green': 'Website',
'lime': '',
'orange': 'Design',
'pink': '',
'purple': '',
'red': 'Makerspace',
'sky': '',
'yellow': 'Programming'},
'name': "Myles' Projects",
'pinned': False,
'prefs': {'background': '5a8ecbc0e4fe5b483f6a7f2c',
'backgroundBottomColor': '#c5dae4',
'backgroundBrightness': 'light',
'backgroundImage': 'https://trello-backgrounds.s3.amazonaws.com/SharedBackground/2560x1707/18ffefaf68a3523a171ecd9c66aab0c5/photo-1519222222397-6cb4ad76e2b9',
'backgroundImageScaled': [{'height': 100,
'url': 'https://trello-backgrounds.s3.amazonaws.com/SharedBackground/140x100/0cfad62ec056253030538010a34fd40c/photo-1519222222397-6cb4ad76e2b9.jpg',
'width': 140},
{'height': 192,
'url': 'https://trello-backgrounds.s3.amazonaws.com/SharedBackground/256x192/7a4f16e94ae13864a192803a4c37bf3c/photo-1519222222397-6cb4ad76e2b9.jpg',
'width': 256},
{'height': 480,
'url': 'https://trello-backgrounds.s3.amazonaws.com/SharedBackground/480x480/16cd3232459fa4897234d5ea0d0fce6f/photo-1519222222397-6cb4ad76e2b9.jpg',
'width': 480},
{'height': 960,
'url': 'https://trello-backgrounds.s3.amazonaws.com/SharedBackground/960x960/fd49f83ab3bcd4360419d992ca5a9a06/photo-1519222222397-6cb4ad76e2b9.jpg',
'width': 960},
{'height': 1024,
'url': 'https://trello-backgrounds.s3.amazonaws.com/SharedBackground/1024x1024/7f69c3613365f8e5dd6418d2c0155fd6/photo-1519222222397-6cb4ad76e2b9.jpg',
'width': 1024},
{'height': 2048,
'url': 'https://trello-backgrounds.s3.amazonaws.com/SharedBackground/2048x2048/25ae1ef87b7987c9eefd22cc9858f4a6/photo-1519222222397-6cb4ad76e2b9.jpg',
'width': 2048},
{'height': 1280,
'url': 'https://trello-backgrounds.s3.amazonaws.com/SharedBackground/1280x1280/a35e20c4583b8ff2b489fcfdc27fa7cb/photo-1519222222397-6cb4ad76e2b9.jpg',
'width': 1280},
{'height': 1920,
'url': 'https://trello-backgrounds.s3.amazonaws.com/SharedBackground/1920x1920/1ab9ff52b99f04a8da60481ca862c013/photo-1519222222397-6cb4ad76e2b9.jpg',
'width': 1920},
{'height': 1600,
'url': 'https://trello-backgrounds.s3.amazonaws.com/SharedBackground/2560x1600/1ea4b9c3c679ed8d4d11a3ac1644e640/photo-1519222222397-6cb4ad76e2b9.jpg',
'width': 2560},
{'height': 1707,
'url': 'https://trello-backgrounds.s3.amazonaws.com/SharedBackground/2560x1707/18ffefaf68a3523a171ecd9c66aab0c5/photo-1519222222397-6cb4ad76e2b9',
'width': 2560}],
'backgroundTile': False,
'backgroundTopColor': '#a2b8bb',
'calendarFeedEnabled': False,
'canBeOrg': True,
'canBePrivate': True,
'canBePublic': True,
'canInvite': True,
'cardAging': 'regular',
'cardCovers': True,
'comments': 'public',
'invitations': 'admins',
'permissionLevel': 'public',
'selfJoin': False,
'voting': 'disabled'},
'shortUrl': 'https://trello.com/b/eqOu9Nsv',
'url': 'https://trello.com/b/eqOu9Nsv/myles-projects'}
In [5]:
board.json().keys()
Out[5]:
dict_keys(['id', 'name', 'desc', 'descData', 'closed', 'idOrganization', 'pinned', 'url', 'shortUrl', 'prefs', 'labelNames'])
In [11]:
board.json()['prefs'].keys()
Out[11]:
dict_keys(['permissionLevel', 'voting', 'comments', 'invitations', 'selfJoin', 'cardCovers', 'cardAging', 'calendarFeedEnabled', 'background', 'backgroundImage', 'backgroundImageScaled', 'backgroundTile', 'backgroundBrightness', 'backgroundBottomColor', 'backgroundTopColor', 'canBePublic', 'canBeOrg', 'canBePrivate', 'canInvite'])
In [15]:
lists = requests.get('https://api.trello.com/1/boards/5a95bb8ad062ac9428574ec0/lists',
params=dict(cards='open'))
lists.ok
Out[15]:
True
In [16]:
lists.json()
Out[16]:
[{'cards': [{'badges': {'attachments': 1,
'attachmentsByType': {'trello': {'board': 0, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': True,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:27:06.446Z',
'desc': "## Stages of Projects\n\n* **Incubator** Projects that I'm in the process of figuring out how to start.\n* **Active**: Projects I'm currently working on.\n* **Sidelines**: Projects that are in a state of complete and general maintenance is being done.\n* **Attic**: Abandoned projects I have lost interested in continuing.",
'descData': {'emoji': {}},
'due': None,
'dueComplete': False,
'id': '5a95be83d9d3fa078fb0dadc',
'idAttachmentCover': '5a95be87e6db33a4ca53f6e2',
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': [],
'idList': '5a95be6096adfebac9340904',
'idMembers': [],
'idMembersVoted': [],
'idShort': 11,
'labels': [],
'manualCoverAttachment': False,
'name': 'How to use this Trello Board',
'pos': 65535,
'shortLink': '3cZTjDlI',
'shortUrl': 'https://trello.com/c/3cZTjDlI',
'subscribed': False,
'url': 'https://trello.com/c/3cZTjDlI/11-how-to-use-this-trello-board'}],
'closed': False,
'id': '5a95be6096adfebac9340904',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'README',
'pos': 32767.75,
'subscribed': None},
{'cards': [{'badges': {'attachments': 1,
'attachmentsByType': {'trello': {'board': 0, 'card': 1}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': True,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-28T13:24:46.789Z',
'desc': '**Braithwaite I/O** is my Jupyter Notebook Blog, basically a fancier version of [this repository](https://github.com/myles/notebooks/tree/master/Random).',
'descData': {'emoji': {}},
'due': None,
'dueComplete': False,
'id': '5a95bba8070924481225eeb4',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bb8a35b91abfde5024dc'],
'idList': '5a95bb9f60d602d0c6e78c4c',
'idMembers': [],
'idMembersVoted': [],
'idShort': 1,
'labels': [{'color': 'green',
'id': '5a95bb8a35b91abfde5024dc',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Website',
'uses': 4}],
'manualCoverAttachment': False,
'name': 'Braithwaite I/O',
'pos': 65535,
'shortLink': 'oSVIGZx5',
'shortUrl': 'https://trello.com/c/oSVIGZx5',
'subscribed': False,
'url': 'https://trello.com/c/oSVIGZx5/1-braithwaite-i-o'},
{'badges': {'attachments': 1,
'attachmentsByType': {'trello': {'board': 0, 'card': 1}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': False,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:13:37.246Z',
'desc': '',
'descData': None,
'due': None,
'dueComplete': False,
'id': '5a95bbaab369059cdaa24135',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bb8a35b91abfde5024dc'],
'idList': '5a95bb9f60d602d0c6e78c4c',
'idMembers': [],
'idMembersVoted': [],
'idShort': 2,
'labels': [{'color': 'green',
'id': '5a95bb8a35b91abfde5024dc',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Website',
'uses': 4}],
'manualCoverAttachment': False,
'name': 'Blog',
'pos': 131071,
'shortLink': 'JOKrT7qO',
'shortUrl': 'https://trello.com/c/JOKrT7qO',
'subscribed': False,
'url': 'https://trello.com/c/JOKrT7qO/2-blog'},
{'badges': {'attachments': 1,
'attachmentsByType': {'trello': {'board': 0, 'card': 1}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': False,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:13:47.774Z',
'desc': '',
'descData': None,
'due': None,
'dueComplete': False,
'id': '5a95bbac70b51045124bebed',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bb8a35b91abfde5024dc'],
'idList': '5a95bb9f60d602d0c6e78c4c',
'idMembers': [],
'idMembersVoted': [],
'idShort': 3,
'labels': [{'color': 'green',
'id': '5a95bb8a35b91abfde5024dc',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Website',
'uses': 4}],
'manualCoverAttachment': False,
'name': 'Homepage',
'pos': 196607,
'shortLink': 'YkR9vHdK',
'shortUrl': 'https://trello.com/c/YkR9vHdK',
'subscribed': False,
'url': 'https://trello.com/c/YkR9vHdK/3-homepage'},
{'badges': {'attachments': 2,
'attachmentsByType': {'trello': {'board': 1, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': False,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-28T13:49:11.031Z',
'desc': '',
'descData': None,
'due': None,
'dueComplete': False,
'id': '5a95bfaddc5c3407ae15c27b',
'idAttachmentCover': '5a96b343d164b527bbff8fc9',
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bfc9035dab5a65adb095'],
'idList': '5a95bb9f60d602d0c6e78c4c',
'idMembers': [],
'idMembersVoted': [],
'idShort': 14,
'labels': [{'color': 'red',
'id': '5a95bfc9035dab5a65adb095',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Makerspace',
'uses': 1}],
'manualCoverAttachment': False,
'name': 'HackLab.TO Darkroom',
'pos': 262143,
'shortLink': 'LlDA8hg5',
'shortUrl': 'https://trello.com/c/LlDA8hg5',
'subscribed': False,
'url': 'https://trello.com/c/LlDA8hg5/14-hacklabto-darkroom'},
{'badges': {'attachments': 0,
'attachmentsByType': {'trello': {'board': 0, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': True,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-28T13:33:56.366Z',
'desc': 'A [website](https://mylesbraithwaite.org/) that views this list of projects.',
'descData': {'emoji': {}},
'due': None,
'dueComplete': False,
'id': '5a95c0839e617eac4b854da4',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bb8a35b91abfde5024dc'],
'idList': '5a95bb9f60d602d0c6e78c4c',
'idMembers': [],
'idMembersVoted': [],
'idShort': 15,
'labels': [{'color': 'green',
'id': '5a95bb8a35b91abfde5024dc',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Website',
'uses': 4}],
'manualCoverAttachment': False,
'name': "Myles' Projects",
'pos': 327679,
'shortLink': 'd0MPsaDU',
'shortUrl': 'https://trello.com/c/d0MPsaDU',
'subscribed': False,
'url': 'https://trello.com/c/d0MPsaDU/15-myles-projects'}],
'closed': False,
'id': '5a95bb9f60d602d0c6e78c4c',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Active',
'pos': 131071,
'subscribed': None},
{'cards': [{'badges': {'attachments': 0,
'attachmentsByType': {'trello': {'board': 0, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': False,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:22:38.536Z',
'desc': '',
'descData': None,
'due': None,
'dueComplete': False,
'id': '5a95be0b4aa230a4dc726818',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bd31ff89aeac7dc0407e'],
'idList': '5a95bb9e336dd9a521d6eeb2',
'idMembers': [],
'idMembersVoted': [],
'idShort': 10,
'labels': [{'color': 'orange',
'id': '5a95bd31ff89aeac7dc0407e',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Design',
'uses': 3}],
'manualCoverAttachment': False,
'name': 'Myles Font',
'pos': 65535,
'shortLink': 'CIoQ8Y3r',
'shortUrl': 'https://trello.com/c/CIoQ8Y3r',
'subscribed': False,
'url': 'https://trello.com/c/CIoQ8Y3r/10-myles-font'},
{'badges': {'attachments': 0,
'attachmentsByType': {'trello': {'board': 0, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': False,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:27:21.666Z',
'desc': '',
'descData': None,
'due': None,
'dueComplete': False,
'id': '5a95bf247b8269a00c762acc',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bd31ff89aeac7dc0407e'],
'idList': '5a95bb9e336dd9a521d6eeb2',
'idMembers': [],
'idMembersVoted': [],
'idShort': 12,
'labels': [{'color': 'orange',
'id': '5a95bd31ff89aeac7dc0407e',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Design',
'uses': 3}],
'manualCoverAttachment': False,
'name': 'Brand',
'pos': 131071,
'shortLink': 'dFAW37t7',
'shortUrl': 'https://trello.com/c/dFAW37t7',
'subscribed': False,
'url': 'https://trello.com/c/dFAW37t7/12-brand'}],
'closed': False,
'id': '5a95bb9e336dd9a521d6eeb2',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Incubator',
'pos': 163839,
'subscribed': None},
{'cards': [{'badges': {'attachments': 1,
'attachmentsByType': {'trello': {'board': 0, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': False,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:15:56.892Z',
'desc': '',
'descData': None,
'due': None,
'dueComplete': False,
'id': '5a95bc404d066a7dc67562c4',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bc7c0d2491ac2c5c0e0f'],
'idList': '5a95bbd3caeac034ab540aaf',
'idMembers': [],
'idMembersVoted': [],
'idShort': 4,
'labels': [{'color': 'yellow',
'id': '5a95bc7c0d2491ac2c5c0e0f',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Programming',
'uses': 5}],
'manualCoverAttachment': False,
'name': 'Django JSONFeed',
'pos': 65535,
'shortLink': 'ccKXI2j7',
'shortUrl': 'https://trello.com/c/ccKXI2j7',
'subscribed': False,
'url': 'https://trello.com/c/ccKXI2j7/4-django-jsonfeed'},
{'badges': {'attachments': 1,
'attachmentsByType': {'trello': {'board': 0, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': True,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:17:23.326Z',
'desc': 'A Python library for interacting with WordPress REST API.\n',
'descData': {'emoji': {}},
'due': None,
'dueComplete': False,
'id': '5a95bcbf6a69f9a46a46ada2',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bc7c0d2491ac2c5c0e0f'],
'idList': '5a95bbd3caeac034ab540aaf',
'idMembers': [],
'idMembersVoted': [],
'idShort': 5,
'labels': [{'color': 'yellow',
'id': '5a95bc7c0d2491ac2c5c0e0f',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Programming',
'uses': 5}],
'manualCoverAttachment': False,
'name': 'python-wp',
'pos': 131071,
'shortLink': '2zaZCER5',
'shortUrl': 'https://trello.com/c/2zaZCER5',
'subscribed': False,
'url': 'https://trello.com/c/2zaZCER5/5-python-wp'},
{'badges': {'attachments': 1,
'attachmentsByType': {'trello': {'board': 0, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': False,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:18:23.271Z',
'desc': '',
'descData': None,
'due': None,
'dueComplete': False,
'id': '5a95bce08a9f9873500138f3',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bc7c0d2491ac2c5c0e0f'],
'idList': '5a95bbd3caeac034ab540aaf',
'idMembers': [],
'idMembersVoted': [],
'idShort': 6,
'labels': [{'color': 'yellow',
'id': '5a95bc7c0d2491ac2c5c0e0f',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Programming',
'uses': 5}],
'manualCoverAttachment': False,
'name': 'py-omnifocus',
'pos': 196607,
'shortLink': '6eumGe5O',
'shortUrl': 'https://trello.com/c/6eumGe5O',
'subscribed': False,
'url': 'https://trello.com/c/6eumGe5O/6-py-omnifocus'},
{'badges': {'attachments': 2,
'attachmentsByType': {'trello': {'board': 1, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': True,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:28:53.189Z',
'desc': 'A Jekyll plugin that improves the typography of your Liquid templates.',
'descData': {'emoji': {}},
'due': None,
'dueComplete': False,
'id': '5a95bcf71512c82375607763',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bc7c0d2491ac2c5c0e0f'],
'idList': '5a95bbd3caeac034ab540aaf',
'idMembers': [],
'idMembersVoted': [],
'idShort': 7,
'labels': [{'color': 'yellow',
'id': '5a95bc7c0d2491ac2c5c0e0f',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Programming',
'uses': 5}],
'manualCoverAttachment': False,
'name': 'jekyll-typogrify',
'pos': 262143,
'shortLink': 'Prm4NjuR',
'shortUrl': 'https://trello.com/c/Prm4NjuR',
'subscribed': False,
'url': 'https://trello.com/c/Prm4NjuR/7-jekyll-typogrify'}],
'closed': False,
'id': '5a95bbd3caeac034ab540aaf',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Sidelines',
'pos': 196607,
'subscribed': None},
{'cards': [{'badges': {'attachments': 5,
'attachmentsByType': {'trello': {'board': 1, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': True,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:27:59.055Z',
'desc': "Myles Braithwaite's toolkits for building website UI.\n",
'descData': {'emoji': {}},
'due': None,
'dueComplete': False,
'id': '5a95bd2906d8c3bfe2334d15',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bd31ff89aeac7dc0407e'],
'idList': '5a95bd143b0278108e7caff7',
'idMembers': [],
'idMembersVoted': [],
'idShort': 8,
'labels': [{'color': 'orange',
'id': '5a95bd31ff89aeac7dc0407e',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Design',
'uses': 3}],
'manualCoverAttachment': False,
'name': 'oldfashioned',
'pos': 65535,
'shortLink': 'uD66ReJ6',
'shortUrl': 'https://trello.com/c/uD66ReJ6',
'subscribed': False,
'url': 'https://trello.com/c/uD66ReJ6/8-oldfashioned'},
{'badges': {'attachments': 2,
'attachmentsByType': {'trello': {'board': 0, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': False,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:21:49.534Z',
'desc': '',
'descData': None,
'due': None,
'dueComplete': False,
'id': '5a95bdb534aab06abc00663c',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': ['5a95bc7c0d2491ac2c5c0e0f'],
'idList': '5a95bd143b0278108e7caff7',
'idMembers': [],
'idMembersVoted': [],
'idShort': 9,
'labels': [{'color': 'yellow',
'id': '5a95bc7c0d2491ac2c5c0e0f',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Programming',
'uses': 5}],
'manualCoverAttachment': False,
'name': 'MylesBot Telegram',
'pos': 131071,
'shortLink': 'PjnBkTSt',
'shortUrl': 'https://trello.com/c/PjnBkTSt',
'subscribed': False,
'url': 'https://trello.com/c/PjnBkTSt/9-mylesbot-telegram'},
{'badges': {'attachments': 1,
'attachmentsByType': {'trello': {'board': 1, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': False,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:28:31.051Z',
'desc': '',
'descData': None,
'due': None,
'dueComplete': False,
'id': '5a95bf6675218f4805603d63',
'idAttachmentCover': None,
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': [],
'idList': '5a95bd143b0278108e7caff7',
'idMembers': [],
'idMembersVoted': [],
'idShort': 13,
'labels': [],
'manualCoverAttachment': False,
'name': 'PyDayOne',
'pos': 196607,
'shortLink': 'eGNgYDW6',
'shortUrl': 'https://trello.com/c/eGNgYDW6',
'subscribed': False,
'url': 'https://trello.com/c/eGNgYDW6/13-pydayone'}],
'closed': False,
'id': '5a95bd143b0278108e7caff7',
'idBoard': '5a95bb8ad062ac9428574ec0',
'name': 'Attic',
'pos': 262143,
'subscribed': None}]
In [18]:
lists.json()[0]['cards']
Out[18]:
[{'badges': {'attachments': 1,
'attachmentsByType': {'trello': {'board': 0, 'card': 0}},
'checkItems': 0,
'checkItemsChecked': 0,
'comments': 0,
'description': True,
'due': None,
'dueComplete': False,
'fogbugz': '',
'subscribed': False,
'viewingMemberVoted': False,
'votes': 0},
'checkItemStates': None,
'closed': False,
'dateLastActivity': '2018-02-27T20:27:06.446Z',
'desc': "## Stages of Projects\n\n* **Incubator** Projects that I'm in the process of figuring out how to start.\n* **Active**: Projects I'm currently working on.\n* **Sidelines**: Projects that are in a state of complete and general maintenance is being done.\n* **Attic**: Abandoned projects I have lost interested in continuing.",
'descData': {'emoji': {}},
'due': None,
'dueComplete': False,
'id': '5a95be83d9d3fa078fb0dadc',
'idAttachmentCover': '5a95be87e6db33a4ca53f6e2',
'idBoard': '5a95bb8ad062ac9428574ec0',
'idChecklists': [],
'idLabels': [],
'idList': '5a95be6096adfebac9340904',
'idMembers': [],
'idMembersVoted': [],
'idShort': 11,
'labels': [],
'manualCoverAttachment': False,
'name': 'How to use this Trello Board',
'pos': 65535,
'shortLink': '3cZTjDlI',
'shortUrl': 'https://trello.com/c/3cZTjDlI',
'subscribed': False,
'url': 'https://trello.com/c/3cZTjDlI/11-how-to-use-this-trello-board'}]
In [ ]:
Content source: myles/notebooks
Similar notebooks: