()
This works more consistently then the normal get_recommendations becuase it seeems to check new location
This works more consistently then the normal get_recommendations becuase it seeems to check new location
This works more consistently then the normal get_recommendations becuase it seeems to check new location
def get_recs_v2():
    '''
    This works more consistently then the normal get_recommendations becuase it seeems to check new location
    '''
    try:
        url = config.host + '/v2/recs/core?locale=en-US'
        r = requests.get(url, headers=headers)
        return r.json()
    except Exception as e:
        print('excepted')
def get_recs_v2 ( ) : try : url = config . host + '/v2/recs/core?locale=en-US' r = requests . get ( url , headers = headers ) return r . json ( ) except Exception as e : print ( 'excepted' )