Table of Content Zone | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
What are Demo Tools?Demo tools are available for the Betfair Exchange API for both theBetting and Accounts API. The Demo Tools can be used by developers to allow quick experimentation and interaction with the production API system. 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/
|
...
Using Google Chrome you can inspect and copy the session directly from the browser by doing the following: |
...
Shift+J |
...
www.betfair.com |
...
/au/it/es Login using the API Endpoint login request |
...
Make a POST request using a tool such as Postman following the instructions via Interactive Login - API Endpoint |
...
Using the API-NG Interactive login sample
Download SampleAPI.exe which is a compiled version of the sample interactive login code which is described in the documentation here, with the source from the API-NG Sample code github repo.
...
Examples of Demo Tools UsagePlease 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. Please noteThe 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.
|