its-rigs / Trolly

A Python wrapper around the Trello API. Provides a group of Python classes to represent Trello Objects. All classes come with basic Trello API method calls and are easily extensible to suit your needs. See the README for more details.
MIT License
100 stars 29 forks source link

Need a way to get the member_id from the auth token #14

Closed alistair-broomhead closed 10 months ago

alistair-broomhead commented 10 years ago

This should be a basic entry point - an authorisation token corresponds to the user who generated said token. In the 'trello' library this is implemented as a call to "https://trello.com/1/tokens/{token}/member"

While this can be done currently at a low level, it would be good to have this as either a method on Trolly.authorisation.Authorisation, or a classmethod on Trolly.member.Member

Otherwise nice work - I came across this library while looking for python3 support, and would love to see a package for the latest version which completes that support appear on pypi.

its-rigs commented 10 years ago

Thanks for the request! I'll look into this and hopefully get it implemented in the next week or so.

Trolly will get a full up to date package release on pypi for python 2 and 3 soon. I've started work on porting to pythonic naming conventions too (without breaking changes, for the first release). I'll keep you updated.

its-rigs commented 10 years ago

You should be able to pip install from python 3+. I will look at adding the token class soon.

alistair-broomhead commented 10 years ago

Awesome, no more -e git+git://githumb.com

On 23 July 2014 16:42, Luke Rigby notifications@github.com wrote:

You should be able to pip install from python 3+. I will look at adding the token class soon.

Reply to this email directly or view it on GitHub https://github.com/plish/Trolly/issues/14#issuecomment-49892191.

http://stackexchange.com/users/330968/biggal