Bet Angel
×
Full Guide

Markets component

 

Purpose

 
To provide information about the markets currently loaded into Bet Angel.
 

Endpoint

 
http://localhost:<port>/api/markets/v1.0/<operationName>
 
e.g. http://localhost:9000/api/markets/v1.0/getMarkets
 

Operations

 
 getMarkets
 
 
Gets details about the markets currently loaded into Bet Angel. The fields returned will be based on the MarketDataItems requested in the GetMarketsInstruction.
 
The markets list in the result data will contain one MarketInfo object per market loaded into Bet Angel. If selection information was requested then each MarketInfo object will contain a list of SelectionInfo objects (one per selection).
 
This method is particularly useful for extracting the betfair Market Ids and Selection Ids and their associated names. This allows your client application, that may be working with real names from an external web site or database, to find the correct Id for use in other API calls.