ContributingĬontributions of all sizes are welcome. Venmo-api's documentation lives at readthedocs.io. get_user_transactions ( user_id = '0000000000000', callback = callback ) Documentation Max number of transactions per request is 50. Getting a user's transactions (public, friends and privates that happen between your account and user_id account) def callback ( transactions_list ): for transaction in transactions_list : print ( transaction ) # callback is optional. log_out ( "Bearer a40fsdfhsfhdsfjhdkgljsdglkdsfj3j3i4349t34j7d" ) # Request money venmo. Keep this in mind that your access token never expires! You will need to revoke it by yoursef. search_for_users ( query = "peter", callback = callback, page = 2, count = 10 ) username ) # Or, you can pass a callback to make it multi-threaded def callback ( users ): for user in users : print ( user. search_for_users ( query = "Peter", page = 2 ) for user in users : print ( user. get_access_token ( username =, password = 'your password' ) venmo = Client ( access_token = access_token ) # Search for users. You will need to complete the 2FA process access_token = Client. from venmo_api import Client # Get your access token. The following is an example of initializing and working with it. In short, you can send money, request for money, get a user's public transactions, get a user's public profile info, etc. Or you can install it from the source: $ git clone -recursive You can install or upgrade venmo-api with: $ pip3 install venmo-api -upgrade It's compatible with Python versions 3.6+. This library provides a Python interface for the Venmo API. Disclaimer: This is an individual effort and is not PayPal/Venmo sponsored or maintained.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |