Set crypto timePeriod to a week

This commit is contained in:
flyingscorpio@arch-desktop 2020-05-17 10:48:04 +02:00
parent 89b1bd4299
commit 438214597c

View file

@ -53,7 +53,7 @@ def compute(args: argparse.Namespace) -> str:
round_nb = args.round
req = requests.get(
"https://api.coinranking.com/v1/public/coins?base={}&symbols={}&timePeriod=30d".format(
"https://api.coinranking.com/v1/public/coins?base={}&symbols={}&timePeriod=7d".format(
base, coin
)
)