Skip to content

Commit

Permalink
Fix ZZZS API call
Browse files Browse the repository at this point in the history
  • Loading branch information
lukarenko committed Dec 24, 2024
1 parent e69c8e4 commit ac3c163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def get_zzzs_api_data_by_category():
apiInstitutions = []
for key in zzzsApiKeys:
print(f"Fetching from ZZZS API: {key}")
apiUrl = f"https://www.zzzs.si/zzzs-api/izvajalci-zdravstvenih-storitev/po-dejavnosti/?ajax=1&act=get-izvajalci&type=dejavnosti&lang=&kat={key[0]}&key={key[1]}"
apiUrl = f"https://www.zzzs.si/zzzs-api/izvajalci-zdravstvenih-storitev/po-dejavnosti/?ajax=1&act=get-izvajalci&type=dejavnosti&lang=0&kat={key[0]}&key={key[1]}"
r = requests.get(apiUrl)
r.raise_for_status()
j = r.json()
Expand Down

0 comments on commit ac3c163

Please sign in to comment.