IT-Beschaffung
api_key = 'mobHTRjG.PAyCWiRHCjzMn1TM6U8w77AIi6fIq161' # test key
headers = {
'Authorization': 'Api-Key ' + api_key
}
# Ausschreibungen
url = 'https://www.it-beschaffung.ch/api/publications/it/?ob_code=OB01&days_back=3'
response = requests.get(url, headers=headers)
print(response.json())
# Zuschläge
url = 'https://www.it-beschaffung.ch/api/publications/it/?ob_code=OB02&days_back=3'
response = requests.get(url, headers=headers)
print(response.json())