(id)
Gets a user's profile via their id
Gets a user's profile via their id
Gets a user s profile via their id
def get_person(id):
    '''
    Gets a user's profile via their id
    '''
    try:
        url = config.host + '/user/%s' % id
        r = requests.get(url, headers=headers)
        return r.json()
    except requests.exceptions.RequestException as e:
        print("Something went wrong. Could not get that person:", e)
def get_person ( id ) : try : url = config . host + '/user/%s' % id r = requests . get ( url , headers = headers ) return r . json ( ) except requests . exceptions . RequestException as e : print ( "Something went wrong. Could not get that person:" , e )