Skip to content

mtrovo/python-n26

 
 

Repository files navigation

N26 Python CLI/API

PyPI version

The idea is to have a convenient command line interface for n26 to:

  • Request account balance
  • Show transactions
  • Enable to only use API component (subclass) to integrate into own application

CLI

CLI setup

pip3 install n26
wget https://raw.githubusercontent.com/femueller/python-n26/master/n26.yml.example -O ~/.config/n26.yml
# configure username, password and card ID
vim ~/.config/n26.yml

CLI example

n26 balance

API

API setup

pip3 install n26
wget https://raw.githubusercontent.com/femueller/python-n26/master/n26.yml.example -O ~/.config/n26.yml
# configure username and password
vim ~/.config/n26.yml

Using the API

from n26 import api
balance = api.Api()
print(balance.get_balance())

Run locally

git clone [email protected]:femueller/python-n26.git
cd python-n26
python3 -m n26 balance

Credits

About

Python client for n26 (Number 26) - https://n26.com/

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%