Lefora Free Forum

Welcome to Diybetfairbots Forum

Welcome to DIY betfair bots forum.
Aiming to shamelessly replace the old forum at fred77.co.uk
All about coding bot for betfair and other sporting exchanges. How the API works, how much data charges can cost, historic data, code examples.....

bmsleight

bmsleight (community founder)

Featured Topic

HiThanks bennean. Yes I have done the VS wsdl thing, and it all works. The reasons I want to hand-roll is partly for performance, partly to educate myself, and partly to make my code base more language and o/s portable.Thanks birchy.I think my first question is: "Is the XML sent as a WebRequest POST merely a byte-encoded string"? Or is there somethong more complex going on?ThanksChris

Featured Images

 

What's Hot in Diybetfairbots Forum?

Bennean: API request XML - hand rolled — Do you realise that Visual Studio will do all the work for you if you point it at the WSDL uri ([url])Do you really find hand-rolling XML fun? Wierd!

Mrchameleon: API request XML - hand rolled — HiI'm new to the Betfair API, but have used the .NET tutorial in the Betfair Developers Forum to generate a working C# bot application (in a rather "paint-by- numbers" fashion).For no particularly good reason I now want to hand-roll a C# .NET Betfair API application. I have used some of the XML snippets above to try and generate a login, but my requests are returned with a Java Exceception …

Birchy: scraping prevention — Are you using the "Pragma: no-cache" header? If not, try it. I'm no longer scraping betfair, but i remember that i always used the main loader url and not the one they use for refreshing:[url] note that i never used any of the url parameters. And do make sure that you're not using the "prevcache" parameter...although that should be obvious

Tams: scraping prevention — I'm using Visual Basic Express and also MS Access on Vista. PC where it works has XP. I've tried ActiveX Data Objects, MS HTML, MS XML 6, WinHTTP 5. Not web browser component. Data refreshes okay with IE

Captain-Sensible: scraping prevention — I'd agree with birchy I used to have problems like that when using flash+php to scrape sites and the prog was just returning cached data unless I was adding random numbers to the url to make the returned data unique

Birchy: scraping prevention — That's definitely a cacheing problem. What language/libraries are you using? Is the other PC running the same operating system? You're not automating a web browser component are you?

What's Happening in Diybetfairbots Forum?

Latest Activity

mrchameleon responded to API request XML - hand rolled. HiThanks bennean. Yes I have done the VS wsdl thing, and it all works. The reasons I want…
bennean responded to API request XML - hand rolled. Now you've got me wanting to do some benchmarking!
birchy responded to API request XML - hand rolled. " Do you really find hand-rolling XML fun? Wierd! -bennean"It's a…
bennean responded to API request XML - hand rolled. Do you realise that Visual Studio will do all the work for you if you point it at the…
mrchameleon responded to API request XML - hand rolled. HiI'm new to the Betfair API, but have used the .NET tutorial in the Betfair Developers…
tams responded to scraping prevention. setRequestHeader "Pragma", "no-cache" .setRequestHeader "Cache-Control", "no-cache"
birchy responded to scraping prevention. Are you using the "Pragma: no-cache" header? If not, try it. I'm no longer scraping…
tams responded to scraping prevention. I'm using Visual Basic Express and also MS Access on Vista. PC where it works has…
captain-sensible responded to scraping prevention. I'd agree with birchy I used to have problems like that when using flash+php to scrape…
birchy responded to scraping prevention. That's definitely a cacheing problem. What language/libraries are you using? Is the other…
tams responded to scraping prevention. Not sure what the problem is, but by stopping and restarting my program, it somehow…

Latest Media