Description Usage Arguments Value See Also Examples
List the Runners Available on Matchbook.com for a given Market
1 2 3  | 
session_data | 
 A session object returned from a successful mb_login attempt. It contains details about your user preferences and security details.  | 
event_id | 
 The event_id integer for the associated market.  | 
market_id | 
 The market_id integer for which a list of associated runners is required.  | 
runner_id | 
 If you only require details for a single runner, specify this optional runner_id integer.  | 
runner_states | 
 A vector of string containing the runner states to return. Defaults to 'open' or 'suspended' market types.  | 
include_prices | 
 A boolean for returning runner prices in the response. Defaults to TRUE.  | 
side | 
 A filter to view the selected 'back' or 'lay' prices. The default is to return both.  | 
include_withdrawn | 
 A boolean for returning or not the withdrawn runners in the response. Defaults to TRUE.  | 
If successful, a dataframe with associated runner information. The data frame has the following fields:
Runner name
If betting is still available on this runner, it will have status='open'
Event id
Runner id
Market id
If include_prices=TRUE then available prices for each runner are returned nested within the data frame.
mb_get_sports,mb_get_events,mb_get_markets
1 2 3  | ## Not run: my_session <- mb_login("my_user_name","my_password"); 
mb_get_runners(session_data=my_session,event_id=123456,market_id=1234567)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.