Im not sure, but can't you use the retsconnector for that? I don't know what you mean by non-web based? How in the world would you get the data? by mail? ha ha I specialize in rets scripts, and it's all run on a cron job, but I am very interested to see what you mean by non-web based script, so I will take a chance.
thanks