From 642a61f54a3566497b9c787171d2d68356aab7a6 Mon Sep 17 00:00:00 2001 From: aheldes <59527963+aheldes@users.noreply.github.com> Date: Mon, 11 Jul 2022 05:17:49 +0200 Subject: [PATCH] Added refunds and fixed missing types --- src/component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component.py b/src/component.py index 9597e29..d7b9be0 100644 --- a/src/component.py +++ b/src/component.py @@ -152,7 +152,7 @@ def get_data(date_list): offset = 0 while True: url = f"""https://api.allegro.pl/billing/billing-entries?offset={offset}"""\ - f"""&type.id=[BRG,FSF,BC2,SUC]&"""\ + f"""&type.id=[A,REF,BC2,SUC,BRG,FSF,B]"""\ f"""&occurredAt.gte={start}Z&&occurredAt.lte={end}Z""" get = requests.get(url, headers=header)