Betfair API Basic Script

This project was awarded to nuid for $222 USD.

Get free quotes for a project like this
Project Budget
$30 - $250 USD
Total Bids
Project Description

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 [url removed, login to view]

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

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

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

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)

Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online