Visualiser tools are available for API-NG for both the Betting and Accounts API. The Visualiser can be used by developers to allow quick experimentation with the API. As new features become available in API-NG, our aim is to extend the visualiser to support these new features to help with rapid adoption of the added functionality.
• All existing API-NG operations are available
• You can easily experiment with the parameters for your API queries.
You can access the tools via the following links:
Betting API - https://developer.betfair.com/visualisers/api-ng-sports-operations/
Accounts API - https://developer.betfair.com/visualisers/api-ng-account-operations/
Heartbeat API - https://developer.betfair.com//visualisers/api-ng-heartbeat-operations/
Please note that the visualiser's are provided as-is, and is intended solely as a testing resource.
Obtaining a session token for the visualiser
There are several ways that you can obtain a session token for the visualiser:
1. Using the pre-populated session token from the website
The Visualiser will populate the session token field with the value of a session token found in your browsers cookie store for the Betfair.com website. You should check that you are logged into the Betfair website and then refresh the visualiser to pickup the new session token automatically from your cookies.
2. Using the API-NG Interactive login sample
If you already have a white-listed application key, 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.
Enter your application key and follow the login instructions; your session token with be extracted from your session and presented to you via the application.