forums Albums groups
Go Back   Betfair Developers Program Forum > Blogs
Open A Betfair Account
 Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read

Old

Greyhounds Form guide

Posted 09-14-2009 at 12:29 PM by sir steel
The "Dogs racing Forms Guide" at the following link http://form.greyhounds.betfair.com/racingform
has all the form for the days dog meetings.
What I woulld like to be able to do is to download this information, the problem I have is that every race has the same url address, does anyone know how I could automatically capture the form data for each race for the day?
You can bring up each page seperately from a drop down menu and it then somehow tells the betfair server...
Junior Member
Posted in Uncategorized
Comments 0 sir steel is offline
Old

Timers and the like

Posted 05-05-2009 at 03:21 PM by ThanksFish
Now, this may not be useful to all of you, except as an exercise in problem solving, but I've been having a problem sorting out the timings of my GetMarketPrices calls.

The way I'm working things is I use a ThreadPool implementation I was given by an extremely generous soul and I pass GetMarketPrices calls into it. Since I'm generally looping over a set number of markets and my computer runs a lot faster than the internet, its very easy for the threadpool to become overrun by requests,...
Member
Comments 0 ThanksFish is offline
Old

Logging out - it's the polite thing to do.

Posted 04-05-2009 at 03:31 PM by ThanksFish
Ok, what I'm doing here is a Logout class, so we can at the very least have a polite bot which logs in and logs out when we have finished.

So, using the project we have been working on, we will need to set up a few new classes. I'll say this again - the way I'm showing you may well not be the best way to do stuff, but it is a way which works.

What I'm going to do here first is set up two new classes which will provide us with APIRequestHeader objects when we need them....
Member
Comments 13 ThanksFish is offline
Old

Concurrently adding and removing components

Posted 03-07-2009 at 04:14 PM by ThanksFish
Updated 03-07-2009 at 04:16 PM by ThanksFish
I've just managed to do something I'm fairly proud of. Its probably fairly small beans to a lot of folk, but it took me ages to figure out and I'm fairly chuffed with myself.

I'm writing a bot (aren't we all!) and I've taken a bit of a leap into the unknown with some of the techniques I'm using. For example, I've created some custom components to show my data. Not all that groundbreaking really, but since the aim of my bot is for me to start it up and walk away from it, but still...
Member
Comments 0 ThanksFish is offline
Old

Using properties and settings in Java

Posted 02-18-2009 at 03:26 PM by ThanksFish
Right then, sliding a little way off the Betfair API track, but with something which is still germane to writing an app which will access the API, I'm going to talk about .properties files in Java.

I know I said I generally wouldn't be talking too much about basic java stuff and I suppose to a lot of people, this stuff will seem fairly basic. However, while I was trying to find out how to do this, I visited I don't know how many web pages and got useful bits of information from each...
Member
Posted in Java
Comments 0 ThanksFish is offline

All times are GMT. The time now is 03:03 PM.

BETFAIR® and the BETFAIR LOGO are registered trade marks of The Sporting Exchange Limited. Data on Betfair website(s) (including pricing data) is protected by © and database rights. It may not be used for any purpose without a licence. © The Sporting Exchange Limited. All rights reserved.