All Projects → PierrickP → N26

PierrickP / N26

Licence: mit
💳 Un-official node.js module for interact with your N26 (previously Number26) account

Programming Languages

javascript
184084 projects - #8 most used programming language
es6
455 projects

Projects that are alternatives of or similar to N26

Meetup Api
meetup-api is an Meetup.com API library written in JavaScript for Node.js V8 and Node.js ChakraCore
Stars: ✭ 104 (-18.75%)
Mutual labels:  api, nodejs-modules
Boleto Api
API for register and generate "Boletos"
Stars: ✭ 222 (+73.44%)
Mutual labels:  api, bank
N26
API and CLI to get information of your N26 account
Stars: ✭ 107 (-16.41%)
Mutual labels:  api, bank
Cnbankcard
🏦 由银行卡卡号解析出发卡行和卡别,适用于中国国内多数银行,返回JSON数据。
Stars: ✭ 853 (+566.41%)
Mutual labels:  api, bank
Python N26
💵 Unofficial Python client for n26 (Number 26) - https://n26.com/
Stars: ✭ 116 (-9.37%)
Mutual labels:  api, bank
Python Tumblpy
A Python Library to interface with Tumblr v2 REST API & OAuth
Stars: ✭ 126 (-1.56%)
Mutual labels:  api
Pfsense Api
The missing REST API package for pfSense
Stars: ✭ 126 (-1.56%)
Mutual labels:  api
Pubg
Playerunknown’s Battlegrounds Websocket API example. Feel free to ask questions in Discord: Hormold#0683
Stars: ✭ 126 (-1.56%)
Mutual labels:  api
Api Golang
golang多款短视频无水印视频解析接口包含抖音微视快手火山皮皮虾最右
Stars: ✭ 125 (-2.34%)
Mutual labels:  api
Ynab Bank Importer
💰 Pull transactions from your bank and import them to YNAB automatically.
Stars: ✭ 129 (+0.78%)
Mutual labels:  bank
Api Common Protos
A standard library for use in specifying protocol buffer APIs.
Stars: ✭ 127 (-0.78%)
Mutual labels:  api
Swiftcodes
Swift Codes or BIC Codes for all the Banks in the world. Cached to json.
Stars: ✭ 127 (-0.78%)
Mutual labels:  bank
Kinopoiskpy
Python API to kinopoisk.ru
Stars: ✭ 126 (-1.56%)
Mutual labels:  api
Taobaokeapi
淘宝客API演示
Stars: ✭ 128 (+0%)
Mutual labels:  api
Jsonrpcserver
Process JSON-RPC requests in Python
Stars: ✭ 126 (-1.56%)
Mutual labels:  api
Zabbixapi
Ruby wrapper to Zabbix API
Stars: ✭ 128 (+0%)
Mutual labels:  api
Anyapi
AnyAPI is a library that helps you to write any API wrappers with ease and in pythonic way.
Stars: ✭ 126 (-1.56%)
Mutual labels:  api
Pokemongoapi Php
Pokemon Go API PHP library
Stars: ✭ 127 (-0.78%)
Mutual labels:  api
Geeksay
🤓 geeks will ctrl+s the world!
Stars: ✭ 127 (-0.78%)
Mutual labels:  api
Ng Gapi
ng-gapi a Google api module for Angular 6+
Stars: ✭ 126 (-1.56%)
Mutual labels:  api

N26 💳

⚠️ number26 was renamed to n26

npm Travis branch Coveralls bitHound Known Vulnerabilities GitHub license Greenkeeper badge

Un-official node.js module for interact with your n26 (previously number26) account

Open a free N26 account here 🎁

NPM

Api docs

What's N26 ?

N26 is Europe's first bank account developed entirely for smartphones. With your N26 bank account, MasterCard® and mobile app, you can conveniently transfer money from anywhere and keep track of your finances at all times. With MoneyBeam you're able to send money via sms or e-mail without the need to enter all the account details.

There are no costs or fees, which means you can withdraw money at any ATM worldwide, free of charge. No ATM around you? Just use CASH26 to withdraw and deposit cash at your supermarket.

Open a free account here 🎁

This module

n26 has some un-official apis. This module provide you clean functions to interact with your account.

Not all endpoints are available yet.

WIP 🚧

  • [x] Auth
  • [x] Get Transactions (with search)
  • [x] Add / update memo on transactions
  • [x] Create a transfert
  • [x] unpair
  • [ ] pair
  • [ ] certify transfer

Dependencies

n26 depends on:

  • bluebird: Bluebird is a full featured promise library with unmatched performance.
  • moment: A lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates.
  • request-promise: The world-famous HTTP client 'Request' now Promises/A+ compliant.

Use 🆘

How to install

npm i n26 --save

Example

const N26 = require('n26');

const myAccount = new N26('[email protected]', 'password')
  .then(account => account.transactions({text: 'Lafayette'})
  .then(transactions => {
  /*
    [{
      "id" : "abbc81ce-a5ab-4b5b-a5c2-82541bdb4630",
      "type" : "PT",
      "smartLinkId" : "1125318169-598442",
      "amount" : -21.79,
      "currencyCode" : "EUR",
      "originalAmount" : -21.79,
      "originalCurrency" : "EUR",
      "exchangeRate" : 1.0,
      "merchantCity" : "PARIS",
      "visibleTS" : 1455292872000,
      "mcc" : 5977,
      "mccGroup" : 4,
      "merchantName" : "LAFAYETTE INT.",
      "merchantId" : "970003006643142",
      "recurring" : false,
      "userId" : "8a21b871-0585-481b-ab62-8e3e2d380757",
      "linkId" : "1125318169-598442",
      "accountId" : "5430d368-a0d3-45b3-bcf7-607ece248fa5",
      "category" : "micro-leisure",
      "cardId" : "24f7804b-8a95-4e80-b48a-11fe395ed505",
      "pending" : false,
      "transactionNature" : "NORMAL",
      "confirmed" : 1455494400000
    }]
   */
  });

API

Api docs

Testing

Mocked

do it, it's safe !

Run npm test for full mocked testing with coverage.

⚠️ Unmocked ⚠️

Less asserts. Used to detect api change.

Run npm run test-unmock for un-mocked test.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].