|Table of Content Zone|
What are Demo Tools?
Demo tools are available for the
Betting API Demo tool - https://docs.developer.betfair.com/visualisers/api-ng-sports-operations/
Accounts API Demo tool - https://docs.developer.betfair.com/visualisers/api-ng-account-operations/
several ways that you can obtain a session token for the visualiser:
Using the pre-populated session token from the website
The Demo Tools will populate the session token field with the value of a session token found in your browsers cookie store for the Betfair.com website. Login to www.betfair.com (betfair.it/betfair.es) (via a seperate browser tab) and refresh the demo tools page to automatically input the Session Token field
Manually adding the ssoid (session token) from the website cookie
Using Google Chrome you can inspect and copy the session directly from the browser by doing the following:
Login using the API Endpoint login request
Examples of Demo Tools Usage
Please see some example of how to use the Demo tools in the steps below:
1. Request All eventTypes using listEventTypes
2. Request all events for EventTypeId 1 (Soccer)
3. Request all markets for a specific eventId using listMarketCatalogue
4. Request prices for a specific marketId (EX_BEST_OFFERS & EX_TRADED) using listMarketBook - Please note: click on the '?' under Market Book on the right hand side to reveal the Market Details pop up.
The Demo Tools are provided as-is, and is intended solely as a testing resource.
The demo tools interact directly with the Betfair API production system and not a testbed/sandbox environment.