You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I'm not sure if this is helpful (and please feel free to give me feedback on how to structure the code a little more cleanly 😺 )
This has been my little snippet of code to get the user id.
from venmo_api import Client, UserApi
access_token = Client.get_access_token(username='<your-username>',
password='<your-password>')
client = Client(access_token=access_token)
user = client.user.get_my_profile()
# Here's your user id :)
print(user.id)
Can someone let me know how i'd do this
The text was updated successfully, but these errors were encountered: