pluGET/old_src/utils/web_request.py
Neocky 993d438ff7 Started the new config handling
Implemented new and not complete config handling and implemented command parameter support
2022-06-02 19:52:49 +02:00

10 lines
224 B
Python

# Handles the web requests
import requests
def doAPIRequest(url):
headers = {'user-agent': 'pluGET/1.0'}
response = requests.get(url, headers=headers)
packageDetails = response.json()
return packageDetails