old_contents: from ..service import Service
  
  
  class TravelService(Service):
      def __init__(self):
          self.setup(host="http://localhost:8000", apikey=None)
  
      def trips(self, who):
          return self._query("GET", "trips", who)
  
      def trip(self, trip_id):
          return self._query("GET", "trip", trip_id)
  
new_contents: from ..service import Service
  
  
  class TravelService(Service):
      def __init__(self):
          self.setup(host="http://localhost:8000", apikey=None)
  
      def trips(self, who):
          return self._query("GET", "trips", who)
  
      def trip(self, trip_id):
          return self._query("GET", "trip", trip_id)
  
      def whereis(self, who):
          return self._query("GET", "whereis", who)
  
subject: Add in whereis endpoint