2021-03-07 00:49:57 +00:00
|
|
|
# Handles the web requests
|
2021-03-04 23:09:03 +00:00
|
|
|
import requests
|
|
|
|
|
|
|
|
|
|
|
|
def doAPIRequest(url):
|
|
|
|
headers = {'user-agent': 'pluGET'}
|
|
|
|
response = requests.get(url, headers=headers)
|
|
|
|
packageDetails = response.json()
|
|
|
|
return packageDetails
|