def id_lookup(self, namespace, id):

        bioguide_id = None
        if namespace == 'urn:sunlight:congressional_bioguide':
            bioguide_id = id
            namespace = None
            id = None
            return self._get_url_json('entities/id_lookup.json', namespace=namespace, id=id, bioguide_id=bioguide_id)
        else:
            return self._get_url_json('entities/id_lookup.json', namespace=namespace, id=id)
Return the Influence Explorer entity ID based on a 3rd party ID.
dataset/ETHPy150Open sunlightlabs/python-transparencydata/influenceexplorer.py/Entities.id_lookup