From 338e9af87021d6451bd9092affe954d4f9ccd360 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sat, 30 Oct 2021 17:46:34 +0200 Subject: [PATCH] Changed Heading-sizes in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0216578..0d7c02f 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Examples: #### ./meuro.py I want to know how much 2000€ from 11.11.2011 are in meuro #### ./meuro.py 3.14E 01.02.2003 12:34 #### ./meuro.py How much meuro are 12 euro from January 2010 -### Python-API +## Python-API You can also import this libary from another python file ##### The provided functions are: #### exchangeRate(date=None) @@ -34,9 +34,9 @@ Converts the given amount of euros to meuros for the given date. (wholeCents mea #### meuroToEuro(meur, date=None, wholeCents=True) Converts the given amount of meuros to euros for the given date. (wholeCents means it rounds to two decimal places) #### liveValue(eur, interval=10) -Print the current amount of meuros for the given amunt of euros every interval-seconds. Comes in handy when you want to watch your life savings slowly fade away thanks to inflation. +Print the current amount of meuros for the given amount of euros every interval-seconds. Comes in handy when you want to watch your life savings slowly fade away thanks to inflation. ##### When the date is set to None the current date is used. Otherwise a datetime-object is expected -## Cache +### Cache Because we dont want to annoy the ecb, we cache their data while we are running and for up to an hour on disc. #### _loadYearsTable(maxCacheSeconds=3600) Will reload the cache if it is older than maxCacheSeconds