code: def get_collections(self):
          
          result = self.api_request('/catalog')
  
          # get the collection name from the url
          return [(os.path.split(x)[1], x) for x in result['collections']]
docs: Retrieve a list of the collection URLs for all collections
          hosted on the server.
  
          :rtype: List
          :returns: a List of tuples of (name, url) for each collection