def giant_bomb_request(title, api_key):
    headers = {'User-Agent': 'gripper'}
    params = {'resources': 'game', 'query': title, 'api_key': api_key, 'format': 'json'}
    response = requests.get(url='http://www.giantbomb.com/api/search/', headers=headers, params=params)
    return json.loads(response.text)
def giant_bomb_request(title, api_key):
    headers = {'User-Agent': 'gripper'}
    params = {'resources': 'game', 'query': title, 'api_key': api_key, 'format': 'json'}
    response = requests.get(url='http://www.giantbomb.com/api/search/', headers=headers, params=params)
    return json.loads(response.text)