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
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ A NodeJS wrapper for the Venmo API.
4
4
5
5
## Usage
6
6
7
-
### Login
7
+
### Login / Logout
8
8
9
-
Call `Venmo.login(username, password)` with username and password to sign in, generate an access key, and automatically set it.
9
+
Call `Venmo.login(username, password)` with username and password to sign in, generate an access key, and automatically set it. May require a 2FA code to be input. It will also return the personal access token. To logout, call `Venmo.logout()`. Optionally provide the access token to logout of a specific account with `Venmo.logout(accessToken)`.
10
10
11
11
### User Information
12
12
@@ -64,7 +64,7 @@ Call `Venmo.getTransactions` with a userID to retrieve a list of transactions in
64
64
65
65
### Errors
66
66
67
-
Errors will be thrown if there are invalid credentials (or not passed), or if you hit Venmo's rate limit.
67
+
Errors will be thrown if there are invalid credentials (or not passed), or if you hit Venmo's rate limit (quite low).
You can build a easy server with this package to serve a frontend such as [venmo.lol](https://github.com/pineapplelol/venmo.lol). Note that Venmo's rate limit is quite low, so you should aim to cache results of API calls to prevent duplicate calls.
0 commit comments