Paradox Community

Items in pnews.paradox-programming

Subject:Downloading and saving as a csv via API Call
Date:Mon, 30 Apr 2018 14:46:53 +1000
From:Robert MacMillan <>

this should be easy but I cant figure it out.

I have API access to this address:-

I can open it from within Paradox using a ShellexecuteA call but that 
just opens up the browser with the information visible in csv format. 
Presumably it is possible to then send commands to the window via DDE to 
save the file and then close the window but that is not my preferred 
option nor do I know how to do it.

What I want to do is simply call it like I do the Betfair API, return 
the information not as a string but saved directly into a .csv file. 
Same place and file name every day.

Should be about 5 or 6 lines of code but I cant figure it out.

The returned information looks like-


Many thanks for all help.

Copyright © 2004