Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
10 | public function searchWithExBestOffer($appKey, $username, $pwd) |
||
11 | { |
||
12 | $betfair = BetfairFactory::createBetfair($appKey, $username, $pwd); |
||
13 | |||
14 | $marketBookBetfair = $betfair->getBetfairMarketBook(); |
||
15 | |||
16 | $priceProjection = new PriceProjection(array(\Betfair\Model\PriceData::EX_BEST_OFFERS)); |
||
17 | |||
18 | $marketBookBetfair |
||
19 | ->withPriceProjection($priceProjection) |
||
20 | ->withMarketIds(array(1.117549116)); |
||
21 | |||
22 | $results = $marketBookBetfair->getResults(); |
||
23 | |||
24 | return $results; |
||
25 | } |
||
26 | } |
||
27 |