Just another api-client for the N26 Bank.
npm install n26-api
authenticate(): Promise<void>;
getBalance(): Promise<Balance>;
getInfo(): Promise<PersonalInfo>;
getStatus(): Promise<Statuses>;
getAddresses(): Promise<Addresses>;
getCards(): Promise<Card[]>;
getLimits(): Promise<Limit[]>;
getContacts(): Promise<Contact[]>;
getTransactions(from: Date, to: Date, limit: string): Promise<Transaction[]>;
getStatements(): Promise<Statement[]>;
getStatement(id: string): Promise<ReadStream>;
getSpaces(): Promise<Spaces>;
import { N26 } from "./N26";
import { Balance } from "./contracts/Balance";
const api: N26 = new N26("yourUserName", "yourPassword");
api.authenticate()
.then(() => api.getBalance())
.then((balance: Balance) => console.info(balance))
.catch(console.error);