Files
aupi/runapi.py
Computerboer 4f12de7b26 Updated to have a cache that survives the restart of the application
Added ability to call the api to let the filecache refresh every night
2023-10-22 14:24:05 +02:00

7 lines
252 B
Python

import requests
response = requests.get('https://api.auctionviewer.ikbenhenk.nl//v2/auction/NL')
if(response.status_code ==200):
print('ran getauctions request successfull')
else:
print('A error occurred while running the getauctions request')