src/ols_client/client.py
def get_term(self, ontology, iri):
        """Gets the data for a given term

        :param str ontology: The name of the ontology
        :param str iri: The IRI of a term
        :rtype: dict
        """
        url = self.ontology_term_fmt.format(ontology, iri)
        response = requests.get(url)

        return response.json()
def get_term(self, ontology, iri):
        url = self.ontology_term_fmt.format(ontology, iri)
        response = requests.get(url)

        return response.json()
def get_term ( self , ontology , iri ) : url = self . ontology_term_fmt . format ( ontology , iri ) response = requests . get ( url ) return response . json ( )
Gets the data for a given term

        :param str ontology: The name of the ontology
        :param str iri: The IRI of a term
        :rtype: dict
Gets the data for a given term