Some checks failed
Ik ben Henk python api ftp deploy / Deploy Python api (push) Has been cancelled
16 lines
514 B
Python
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') |