Skip to content

added option to check account balance#40

Open
yczeng wants to merge 8 commits intozackhsi:masterfrom
yczeng:master
Open

added option to check account balance#40
yczeng wants to merge 8 commits intozackhsi:masterfrom
yczeng:master

Conversation

@yczeng
Copy link
Copy Markdown

@yczeng yczeng commented Nov 16, 2017

Added balance.py under the venmo folder which allows you to use the cli to view the account balance in your venmo account.

++ added configuration prompt if not previously configured.
++ added tailing new lines

Copy link
Copy Markdown
Owner

@zackhsi zackhsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please push updates to this branch? It is easier to review the same PR as it evolves instead of opening a new PR for every little change.

Comment thread venmo/balance.py

print(response_dict['data']['balance'])
return response_dict['data']['balance']

No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't quite right. What I meant my trailing newlines is for line 25 to end with a newline (no red circle with line through it shows up). And then line 26 would not exist. There should be some text editor settings you can tweak.

Comment thread venmo/balance.py
import venmo


logger = logging.getLogger('venmo.payment')
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

venmo.balance

Comment thread venmo/user.py
'profile_picture_url': u['profile_picture_url'],
})
return results

No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants