I am working on slack bot that has access to a team's slack and trello workspace both. The bot needs to make a connection between slack member ids and trello member ids. The members may have their names different in each platform, the only matching attribute is their mail id. However, I can't fetch each member's email id from trello api calls. The documentation has a hint that it's probably not possible. In that case, is there any other solution? using python library 'trello' and 'slackclient' for making api calls in trello and slack respectively.
I have exactly the same query, to be able to message a Slack User based on activity in Trello I want to tie the two accounts together but I don't see the way to get their email address from the Trello user.
Also is it possible to get a Trello user from an email address (ie. the opposite way around)?
You can use the account scope when requesting token and get email from payload.
Use this API to get user email:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I only see my user email, but not the emails from another users. Is this happening because it only appears the email of the user who generated the request token?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct. A token only gives you access to that user's email address.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a way to extract other users emails from the api?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You'll need to ask them to authorize your application and obtain a token.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
please help with this problem!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use this API to get user details:
https://api.trello.com/1/members/me
Make sure to add "account" scope when requesting user token.
The payload has an email field which contains user's email id.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use this API to get user details:
https://api.trello.com/1/members/me
Make sure to add "account" scope when requesting user token.
The payload has an email field which contains user's email id.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I'm also facing this issue, please help & share if its possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What token are you using to retrieve this information? In order to be able to obtain the member's email, you need to have the user authorize your application and give permission to obtain their email address.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Kindly use this module
https://github.com/sarumont/py-trello/blob/master/trello/member.py
Because in class member you can see useful methods for you.
Cheers,
Gonchik Tsymzhitov
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.