'unauthorized card permission requested - Python Trello
I can't filter the comments. I googled about and saw that I have to do a trello setup. But I didn't find ANYTHING explaining about it. Can anyone tell me something or teach me how I can get permission to do this?
Here is part of my code currently:
...
from trello import TrelloClient
...
client = TrelloClient(
api_key='ba022254326cc6f49461633f16df5b74',
api_secret='',
token='cbf1acd55c4b9e2514fbbf7ed02f358ae744b136c8cf1f9560bffb8f411ab078',
token_secret='your-oauth-token-secret'
)
...
allLists = board.list_lists()
allCards = board.all_cards()
...
def request(listId):
url = "https://api.trello.com/1/cards/"+listId+"/actions?filter=commenctCard?key=ba022254326cc6f49461633f16df5b74&token=cbf1acd55c4b9e2514fbbf7ed02f358ae744b136c8cf1f9560bffb8f411ab078"
headers = {
"Accept": "application/json"
}
response = requests.request(
"GET",
url,
headers=headers
)
return response.text
response = request(allCards[1].id)
print(response)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
