2.1.4 • Published 4 years ago

avanza-api v2.1.4

Weekly downloads
9
License
ISC
Repository
github
Last release
4 years ago

Avanza API

Install

npm i avanza-api

Usage

import Avanza from "avanza-api";
const avanza = new Avanza();

await avanza.authenticate({
  username: "",
  password: "",
  totpSecret: ""
});

if (avanza.isAuthenticated) {
  const accounts = await avanza.getAccounts();
  console.log(accounts);
}

Login with BankId

avanza.authenticate({
  personnummer: "123456789012"
});

If multiple username are connected to your BankId, you will need to choose which to login by adding username key.

avanza.authenticate({
  username: "",
  personnummer: "123456789012"
});
2.1.4

4 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago