Closed mbbroberg closed 4 years ago
Hey @sarumont, nudging this your way in case you have any tips. I'd love to write up or PR changes to make it easier. Thanks 👋
@mbbroberg That sounds about right, given the API at the time I originally wrote this. It may be possible to use an OAuth token against the Trello API now (one would think...). In this case, a PR would be welcome to use that rather than the OAuth secrets.
This would be a more modern approach to API authentication, however I have not personally been using py-trello
or Trello's API at all recently.
Thanks @sarumont. If I find a smarter way I'll PR It.
Hey all, thanks for writing this helpful module.
I was wondering if others have a more efficient way of retrieving the token and token secret when writing projects that use py-trello. My current instructions are somewhere between a spy novel and a scene from Momento. Here it is:
The right solution to authenticating
main
method totrello/util.py
after the definition:You now have all the pieces to authenticate using the
trello.TrelloClient()
function.Question
Is there a better way?
Thanks!