Testing

Learn about the different methods to test your integration before going live.

This page includes test event IDs and other information to make sure your integration works as planned. Use it to trigger different flows in your integration and ensure they are handled accordingly.

Table Tennis API

When using the Table Tennis API in your application, ensure that:

  • All required header paramters are set correctly

  • You have a valid OAuth Bearer 2.0 token for authentication

  • Use the correct URL to get connected to the API

Basic Match IDs

Genuine match ID information cannot be used in test mode. Instead, use any of the following test match ID numbers to make a successful request.

Match ID

Details

999991

Test Match ID

Example of how to connect to a Websocket

Use the following command to get more details about a match associated with the id of 999991.

WebSocket: wss://dde-streams.imgarena.com/tabletennis/999991/matchdetails

Then right after getting connected, a valid authentication token should be sent immediately.

{
  "authToken": "<token>"
}

Example of how to connect to the REST API

Method: GET

URL: https://dde-test-api.imgarena.com/tabletennis/tournaments/

Headers: [Accept] application/vnd.imgarena.dde.api+json;version=1

Last updated