https://github.com/kritzware/monzo
💳 Unofficial Client Library for Monzo API
https://github.com/kritzware/monzo
api client-library monzo node typescript
Last synced: 2 months ago
JSON representation
💳 Unofficial Client Library for Monzo API
- Host: GitHub
- URL: https://github.com/kritzware/monzo
- Owner: kritzware
- Created: 2020-02-17T00:20:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-17T11:33:02.000Z (over 5 years ago)
- Last Synced: 2025-02-05T07:15:41.571Z (4 months ago)
- Topics: api, client-library, monzo, node, typescript
- Language: TypeScript
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# monzo
⚠️ *work in progress*Unofficial Client Library for Monzo API
```typescript
import Monzo from "monzo"const monzo = new Monzo({ accessToken: "123" })
// Get account
const [account] = await monzo.accounts.list()// Get account balance
const balance = await monzo.balance.get(account.id)
console.log(balance)
// 420// List pots
const pots = await monzo.pots.list()
for (const pot of pots) {
console.log({ name: pot.name, balance: pot.balance })
// { name: "Savings", balance: 120 }
}
```