This package has been deprecated

Author message:

This package is not maintained anymore

n26-api
TypeScript icon, indicating that this package has built-in type declarations

0.1.8 • Public • Published

N26 API

build NPM

Just another api-client for the N26 Bank.

Installation

npm install n26-api

Methods

    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>;

Example

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);

License

Readme

Keywords

Package Sidebar

Install

npm i n26-api

Weekly Downloads

1

Version

0.1.8

License

MIT

Unpacked Size

21.4 kB

Total Files

28

Last publish

Collaborators

  • code-chris