The HTTP call only include the self.oauth auth info if present but doesn't include the api key and token through query params if oauth is not used.
Note that create_hook uses not the same code as other function (because of some bugs encountered in the past), however we fully replaced it with fetch_json as a workaround without issue so maybe there is no more need for this particularity.
Currently where using the TrelloClient
create_hook
method without oauth enabled, the method doesn't work because of a missing authentication.See https://github.com/sarumont/py-trello/blob/master/trello/trelloclient.py#L277
The HTTP call only include the
self.oauth
auth info if present but doesn't include the api key and token through query params if oauth is not used.Note that
create_hook
uses not the same code as other function (because of some bugs encountered in the past), however we fully replaced it withfetch_json
as a workaround without issue so maybe there is no more need for this particularity.Code we used: