Skip to content

Commit

Permalink
Added indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aheldes committed Jun 29, 2022
1 parent 48e5a7f commit 6698590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def get_data(date_list):
offset = 0
while True:
url = f"""https://api.allegro.pl/billing/billing-entries?offset={offset}"""\
f"""&occurredAt.gte={start}Z&&occurredAt.lte={end}Z"""
f"""&occurredAt.gte={start}Z&&occurredAt.lte={end}Z"""

get = requests.get(url, headers=header)
data = get.json()
Expand All @@ -166,7 +166,7 @@ def get_data(date_list):

if number_of_results == 100:
offset += 100

return results

def parse_biling_entries(data):
Expand Down

0 comments on commit 6698590

Please sign in to comment.