Skip to content

bank transfer & balance commands#50

Open
urq wants to merge 3 commits into
zackhsi:masterfrom
urq:feat-bank-transfer
Open

bank transfer & balance commands#50
urq wants to merge 3 commits into
zackhsi:masterfrom
urq:feat-bank-transfer

Conversation

@urq

@urq urq commented Jul 3, 2018

Copy link
Copy Markdown

No description provided.

urq added 2 commits July 3, 2018 18:18
This stuff isn't being used anywhere in the codebase, so get rid of it.

@zackhsi zackhsi left a comment

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 looks fantastic, thanks!

Comment thread venmo/auth.py Outdated
password = getpass.getpass(prompt='Venmo password [{}]: '
.format('*' * 10 if old_password else None))
bank_account_id = getpass.getpass(
prompt='Bank account ID [{}]: '.format(

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.

Can we mark this as clearly optional in the prompt?

Additionally, could we create and link to documentation on how to find this ID?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Good idea... where do you want documentation to go? We could put it in the root README or somewhere else, and then I could link to it in the Bank account ID prompt. It would be something like the following:

Instructions to get Bank ID

  1. Navigate to venmo.com in your browser and sign in.
  2. Click on the "Transfer to Bank" link to bring up the Transfer modal.
  3. You will see your bank accounts listed in the modal. Right-click on the bank of interest and inspect the HTML element.
  4. Traverse the parents of the selected DOM node (navigate up the DOM tree) to the first
  5. tag. It should have a "ba-id" property whose value is a UUID. This is your bank ID.

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.

The root README in the setup section makes sense. Yup, clear instructions 👍

Comment thread venmo/settings.py

# OAuth
CLIENT_ID = '2667'
CLIENT_SECRET = 'srDrmU3yf452HuFF63HqHEt25pa5DexZ'

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 command allows the user to transfer an amount from their venmo
balance into one of their already-registered bank accounts. To support
this, a new configuration parameter for the bank account ID has been
added to the `configure` command.
@urq urq force-pushed the feat-bank-transfer branch from ef67739 to 92bc447 Compare July 10, 2018 12:44
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