import requests def get_status_data(): url = 'https://life.itguy.ro/lifeapi/status.html' data = requests.get(url).json() return data