Betfair API Basic Script

In Progress Posted May 15, 2013 Paid on delivery
In Progress Paid on delivery

I require a basic script to use the free betfair API to place bets. The script does not need to have all the advanced API features it only needs to be able to:

- Take input (bet information) to have the bet placed

- Output confirmation to a text file (confirmation of bid placed)

- retrieve account balance and dump this to a text file when required

Basically at the moment I have a bunch of shell scripts/Applescripts that do this for Baseball MLB, but its only temporary. In summary I receive tips via email. I can take care of extracting the relevant information for the bets from the emails I receive and call this script and pass to it (via command line options) the information and the script will then place the bet, output the bet confirmation to a text file. Also as above an option to check account balance and output this to a text file as well.

It will run on Mac OS X, so it can either be a Java (jar) program or a python script.

There was an older Java program called klubar bee which basically interfaced with the betfair API and had a bunch of command options, that is similar to what I require however I only need the basic features. It should be able to work with AUS/UK markets and the following sports:

Baseball MLB

Soccer (European)

Basketball (European)

Horse Racing (UK)

I should be able to call the script via the following for example:

[url removed, login to view] --market AU --sport Baseball --league MLB --type Handicap --bet -1.5 --team(or horse) Red Sox --stake 80.00

[url removed, login to view] --market AU --sport Baseball --league MLB --type Over/Under --bet Over 8 --team(or horse) Red Sox --stake 80.00

[url removed, login to view] --market AU --sport Soccer --league Italy A(example) --type Moneyline(Two way) --team(or horse) Team Name --stake 80.00

[url removed, login to view] --market AU --sport Horse --type Handicap --bet 6m 2f --team(or horse) Horse Name --stake 80.00

The script to handle all available standard bet types Moneyline(two way), Over/Under, Team Total, Handicap

Other options:

--balance (retrieve account balance, I would then output that to a file a required >> ./balance_file)

Java Python Sports

Project ID: #4523969

About the project

5 proposals Remote project Active May 21, 2013

Awarded to:

nuid

Sent you a detailed PM.

$222 USD in 3 days
(1 Review)
2.6

5 freelancers are bidding on average $156 for this job

gangabass

I have worked with Betfair API before so I'm sure you'll be satisfied with my work. See PM for details.

$154 USD in 3 days
(25 Reviews)
4.8
wbslivera

Hello, I can help you. I am Oracle certified professional java programmer and have Bsc.IT. thanks

$147 USD in 5 days
(21 Reviews)
4.1
okolobasii

I can make it during next week, I will have >30 hours for this. About my reasons, you can read a small rough summary in my profile. My current little project here is done. About your description, it looks like you does More

$111 USD in 7 days
(0 Reviews)
0.0