code: def get_endpoints(self, endpoints=[]):
          
          if isinstance(endpoints, str) and endpoints in self._ENDPOINTS:
              endpoints = list(endpoints)
          if not endpoints or not set(endpoints).issubset(self._ENDPOINTS):
              raise IEXEndpointError("Please provide a valid list of endpoints")
          elif len(endpoints) > 10:
              raise ValueError("Please input up to 10 valid endpoints")
          self.optional_params = {}
          self.endpoints = endpoints
          json_data = self.fetch(fmt_p=no_pandas)
          for symbol in self.symbols:
              if symbol not in json_data:
                  raise IEXSymbolError(symbol)
          return json_data[self.symbols[0]] if self.n_symbols == 1 else json_data
docs: Universal selector method to obtain specific endpoints from the
          data set.
  
          Parameters
          ----------
          endpoints: str or list
              Desired valid endpoints for retrieval
  
          Notes
          -----
          Only allows JSON format (pandas not supported).
  
          Raises
          ------
          IEXEndpointError
              If an invalid endpoint is specified
          IEXSymbolError
              If a symbol is invalid
          IEXQueryError
              If issues arise during query