code: def parse_departures(self, xml):
          
          obj = xmltodict.parse(xml)
          departures = []
  
          for departure in obj['ActueleVertrekTijden']['VertrekkendeTrein']:
              newdep = Departure(departure)
              departures.append(newdep)
              #print('-- dep --')
              #print(newdep.__dict__)
              #print(newdep.to_json())
              print(newdep.delay)
  
          return departures
docs: Parse the NS API xml result into Departure objects
          @param xml: raw XML result from the NS API