Skip to content

Commit

Permalink
Added refunds and fixed missing types
Browse files Browse the repository at this point in the history
  • Loading branch information
aheldes committed Jul 11, 2022
1 parent 172cb09 commit 642a61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 642a61f

Please sign in to comment.