Files
aupi/runapi.py
michael1986 85e7887b65
Some checks failed
Ik ben Henk python api ftp deploy / Deploy Python api (push) Has been cancelled
API
2025-12-01 14:52:22 +01:00

16 lines
514 B
Python

import requests
# from utils.auctionutils import getAuctionlocations
# try:
# getAuctionlocations('NL', True)
# print('ran getauctions request successfull')
# except Exception as e:
# print('A error occurred while running the getauctions request')
# print(e)
response = requests.get('https://api.auctionviewer.ikbenhenk.nl//v2/refreshauction/NL')
if(response.status_code ==200):
print('ran getauctions request successful')
else:
print('A error occurred while running the getauctions request')