In Progress

Betfair API Basic Script

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)

Skills: Java, Python, Sports

See more: standard c types, java 1.5 features, i need python shell, horse racing script, horse racing call, example shell script, basic shell script, applescripts, sports bet, sport bet, soccer tips, soccer sport, shell scripts, java python, betfair, betfair api, bet tips, api betfair, betfair program java, api output python, mac basic, text extracting, call shell script, python check emails, script mac

About the Employer:
( 1 review ) Bendigo, Australia

Project ID: #4523969

Awarded to:


Sent you a detailed PM.

$222 USD in 3 days
(1 Review)

5 freelancers are bidding on average $156 for this job


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)

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

$147 USD in 5 days
(21 Reviews)

Dear sir. Thanks for your posting. I have seen your post carefully. This is simple for me. There is my words in [url removed, login to view] check PM.

$144 USD in 10 days
(0 Reviews)

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)