Hi all
New to the API, am using it to provide suggested inputs / results checking for an app I'm building for a client. For the record, I'm not a gambler so the terminology is all new to me.
I currently have the app suggesting events for the user (using the betfar API). Now I need a list of possible options for the bet, so the user doesn't have to type out the selection each time they enter a bet.
I'm struggling to find a way to retrieve selection names, I can only seem to get IDs and some other, not required data.
I'm using listMarketBook and getting a reponse like,
How can I get more details on each selection?
I'd really appretiate any help or pointers for this.
Cheers.
New to the API, am using it to provide suggested inputs / results checking for an app I'm building for a client. For the record, I'm not a gambler so the terminology is all new to me.
I currently have the app suggesting events for the user (using the betfar API). Now I need a list of possible options for the bet, so the user doesn't have to type out the selection each time they enter a bet.
I'm struggling to find a way to retrieve selection names, I can only seem to get IDs and some other, not required data.
I'm using listMarketBook and getting a reponse like,
Code:
0 => {#344 ▼
+"marketId": "1.150067515"
+"isMarketDataDelayed": true
+"status": "OPEN"
+"betDelay": 0
+"bspReconciled": false
+"complete": true
+"inplay": false
+"numberOfWinners": 2
+"numberOfRunners": 7
+"numberOfActiveRunners": 6
+"totalMatched": 0.0
+"totalAvailable": 3524.44
+"crossMatching": false
+"runnersVoidable": false
+"version": 2473426418
+"runners": array:7 [▼
0 => {#331 ▼
+"selectionId": 16444868
+"handicap": 0.0
+"status": "ACTIVE"
+"adjustmentFactor": 37.12
+"totalMatched": 0.0
}
1 => {#341 ▼
+"selectionId": 19048818
+"handicap": 0.0
+"status": "ACTIVE"
+"adjustmentFactor": 33.013
+"totalMatched": 0.0
}
.....
I'd really appretiate any help or pointers for this.
Cheers.


Comment