Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
API-NG Reference Guide - 20th October2014.pdf
Скачиваний:
91
Добавлен:
11.02.2015
Размер:
2.41 Mб
Скачать

Using the set of navigation operations, you can easily create a menu tree of markets in whatever hierarchy you want. You can can listEventTypes to get the Sports as the top of your menu. Or, you could call "listCountries" and use markets in a country as the root of the tree.

There is also listMarketCatalogue so if you didn't care about creating a visual navigation, you could simply calllistMa rketCatalogue with a MarketFilter defining the markets you're interested in and get back information about those markets.

API 6.0 > API-NG Operations Comparison Table

The below table compares API-NG operations with their API 6.0 equivalent for those looking to migrate their applications.

API6 Operation

API-NG Operation

Notes

cancelBets

cancelOrders

 

cancelBetsByMarket

cancelOrders

All bets can be cancelled using cancelOrders if

convertCurrency

listCurrencyRates

 

getAccountFunds

getAccountFunds

 

getAccountStatement

getAccountStatement

 

getActiveEventTypes

listEventTypes

 

getAllCurrenciesV2

convertCurrency

For minimum bet size and BSP lay liability for

getAllEventTypes

listEventTypes

 

getAllMarkets

listMarketCatalogue/Na

Use Navigation Data for Applications to recrea

 

vigation Data for

 

 

Applications

 

getBet

listCurrentOrders

 

getBetHistory

listClearedOrders

 

getBetLite

listCurrentOrders

 

getBetMatchesLite

listCurrentOrders

 

getCompleteMarketPricesCompressed

listMarketBook

Requires EX_ALL_OFFERS set as the PricePr

getCurrentBets

listCurrentOrders

 

getCurrentBetsLite

listCurrentOrders

 

getDetailAvailableMktDepth

listMarketBook

Requires both EX_ALL_OFFERS and EX_TR

getEvents

listEvents

 

getInPlayMarkets

listMarketCatalogue

Requires 'turnInPlayEnabled = true' in the Mar

getMarket

listMarketCatalogue

 

getMarketInfo

listMarketCatalogue

 

getMarketPrices

listMarketBook

Requires EX_BEST_OFFERS set as the Price

getMarketPricesCompressed

listMarketBook

Requires EX_BEST_OFFERS set as the Price

getMarketProfitAndLoss

listMarketProfitAndLoss

 

getMarketTradedVolume

listMarketBook

Requires EX_TRADED set as the PriceProjec

getMarketTradedVolumeCompressed

listMarketBook

Requires EX_TRADED set as the PriceProjec

getMUBets

listCurrentOrders

 

getMUBetsLite

listCurrentOrders

 

getSilks

listMarketCatalogue

Available when the MarketProjection RUNNE

getSilksV2

listMarketCatalogue

Available when the MarketProjection RUNNE

Heartbeat

heartbeat

 

keepAlive

Keep Alive

 

login

Login

Interactive and non-interactive login methods a

logout

Logout

 

placeBets

placeOrders

 

transferFunds

transferFunds

 

updateBets

updateOrders/replaceOr

 

 

ders

 

viewProfile

getAccountDetails

 

viewProfileV2

getAccountDetails

 

Deprecated API 6.0 Operations

The following operations are deprecated and won't be provided via API-NG:

addPaymentCard createAccount deletePaymentCard depositFromPaymentCard forgotPassword getCoupon getPaymentCard getPrivateMarkets modifyPassword modifyProfile retrieveLIMBMessage selfExclude setChatName submitLIMBMessage updatePaymentCard viewReferAndEarn

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]