This provides a wrapper for the some basic functionality around the Matchbook.com REST API. It features calls to get events, markets and runners in data frame format. It features functions for bet placement and position managment and also allows reporting of settled bet transactions. Note: this library uses the back-lay format. The default for odds type, currency and language are set according to those of the registered user account.
The package provides the basic functionality for betting on Matchbook.com via the RESTful API service. More details and examples can be found on this Bitbucket repository. A registered Matchbook.com account is required to use this package. Please read the documentation carefully for each individual function before use.
In order to login and log out, use the following functions:
In order to get information on events/marketsor runners, use the following functions:
In order to perform a bet action, use the following functions:
To see details on bets that have not yet settled, use the following function:
To see details on bets that have already settled, use the following function:
Your balance/exposure can be displayed on login and they are also returned as part of the
mb_bet_update function calls.
Maintainer: Niall Fitzgerald <[email protected]>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.