🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

n26-api

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n26-api

Just another n26 api-client.

Source
npmnpm
Version
0.1.4
Version published
Weekly downloads
1
-92.86%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

n26

FAQs

Package last updated on 09 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts