From: Lukas Großberger Date: Thu, 28 Jun 2018 13:06:54 +0000 (+0200) Subject: replace pin variable with getpass in README (#28) X-Git-Tag: v1.0.0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=227549e848f1f0ca181d6c68fb323c3c7e83a5d0;p=thirdparty%2Fpython-fints.git replace pin variable with getpass in README (#28) to prevent people from having python files with their bank login lying around --- diff --git a/README.md b/README.md index 7c4c06c..56099cd 100644 --- a/README.md +++ b/README.md @@ -35,13 +35,14 @@ Usage ```python import logging from datetime import date +import getpass from fints.client import FinTS3PinTanClient logging.basicConfig(level=logging.DEBUG) f = FinTS3PinTanClient( '123456789', # Your bank's BLZ 'myusername', - 'mypin', + getpass.getpass('PIN:'), 'https://mybank.com/…' # endpoint, e.g.: https://hbci-pintan.gad.de/cgi-bin/hbciservlet # for German banks, see http://www.hbci-zka.de/institute/institut_auswahl.htm )