Skip to content

Non-official client for the Revolut Bank

License

Notifications You must be signed in to change notification settings

two-ack/revolut-py

Repository files navigation

revolut-python

Travis Coveralls github PyPI License

Description

Non-official client for the Revolut Bank

I wrote a French blog post about it here

Requirements

  • Python 3
  • pip3

Installation

pip3 install -U revolut

CLI tool : revolut_cli.py

Usage: revolut_cli.py [OPTIONS]

  Get the account balances on Revolut

Options:
  -t, --token TEXT     your Revolut token (or set the env var REVOLUT_TOKEN)
  -l, --language TEXT  language ("fr" or "en"), for the csv header and
                       separator
  -a, --account TEXT   account name (ex : "EUR CURRENT") to get the balance
                       for the account
  --version            Show the version and exit.
  --help               Show this message and exit.

Example output :

Account name,Balance,Currency
EUR CURRENT,100.50,EUR
GBP CURRENT,20.00,GBP
USD CURRENT,0.00,USD
AUD CURRENT,0.00,AUD
BTC CURRENT,0.00123456,BTC
EUR SAVINGS (My vault),10.30,EUR

If you don't have a Revolut token yet, the tool will allow you to obtain one.

⚠️ If you don't receive a SMS when trying to get a token, you need to logout from the app on your Smartphone.

TODO

  • Document revolutbot.py
  • Create a RaspberryPi Dockerfile for revolutbot (to check if rates grows very often)
  • Improve coverage for revolutbot

About

Non-official client for the Revolut Bank

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%