code: def connections(self, origin, destination, dt=datetime.now(), only_direct=False):
          
          query = {
              'S': origin,
              'Z': destination,
              'date': dt.strftime("%d.%m.%y"),
              'time': dt.strftime("%H:%M"),
              'start': 1,
              'REQ0JourneyProduct_opt0': 1 if only_direct else 0
          }
          rsp = requests.get('http://mobile.bahn.de/bin/mobil/query.exe/dox?', params=query)
          return parse_connections(rsp.text)
docs: Find connections between two stations
  
          Args:
              origin (str): origin station
              destination (str): destination station
              dt (datetime): date and time for query
              only_direct (bool): only direct connections