harvester_odt/comunweb/crawler.py
def _list_object_classes(self):
        """
        Return a list of available "object classes" for the crawled site.

        Each item in the list is a dict like this::

            {
            "identifier": "open_data",
            "link": "http://.../api/opendata/v1/content/class/open_data",
            "name": "Open Data"
            },
        """

        response = requests.get(urlparse.urljoin(
            self.url, '/api/opendata/v1/content/classList'))
        assert response.ok
        return response.json()['classes']

        Return a list of available "object classes" for the crawled site.

        Each item in the list is a dict like this::

            {
            "identifier": "open_data",
            "link": "http://.../api/opendata/v1/content/class/open_data",
            "name": "Open Data"
            },
        
Return a list of available "object classes" for the crawled site.
Each item in the list is a dict like this:.


Return a list of available " object classes " for the crawled site . Each item in the list is a dict like this : .
def _list_object_classes(self):
        response = requests.get(urlparse.urljoin(
            self.url, '/api/opendata/v1/content/classList'))
        assert response.ok
        return response.json()['classes']
def _list_object_classes ( self ) : response = requests . get ( urlparse . urljoin ( self . url , '/api/opendata/v1/content/classList' ) ) assert response . ok return response . json ( ) [ 'classes' ]
Return a list of available "object classes" for the crawled site.
Return a list of available " object classes " for the crawled site .
"""
        Return a list of available "object classes" for the crawled site.

        Each item in the list is a dict like this::

            {
            "identifier": "open_data",
            "link": "http://.../api/opendata/v1/content/class/open_data",
            "name": "Open Data"
            },
        """
self