Weekly simulations

What are weekly simulations?

As there is no golf on Monday to Wednesday as golf normally runs Thursday to Sunday. IMGArena replay events which normally start Monday morning and end Thursday evening (GMT) to cover the period with no golf. These simulations also have streaming enabled. If you require simulations to start at certain times, i.e to start during US hours, please contact the Integration team.

How do I connect to Weekly simulations?

I would highly recommend having a session with the IMGArena integration managers to review this process.

On a high level:-

Instead of connecting to "DDE production" you will need to connect to "DDE sims".

You will need to pull eventIDs from "DDE Sims"

These are the following endpoints you will need to connect to DDE SIMS:

Tournaments endpoint:

https://dde-sims-api.imgarena.dev/golf/tournaments/ https://dde-sims-api.imgarena.dev/golf/tournaments/{ID} /Schedule endpoint https://dde-sims-api.imgarena.dev/golf/tournaments/{ID}/schedule

Note that you will require a new DDE bearer token to connect to Sims. Please liaise with the IMG Arena integration teams for more detail.

You will then need to update the integration library to connect to the DDE sims environment instead of DDE production. This can be done by passing env: "sims" in the integration library.

Sandbox example with the env: "sims:- https://codesandbox.io/s/full-group-detail-view-forked-1sv4cn

Once you have updated the "env" variable to look at "sims", you will need to connect to the weekly simulation by finding the event ID.

How to get the event ID for this week sims?

You can pull the /tournament endpoint against DDE sims and pass the current weeks date range. Or alternatively you can contact the integration team for the weekly sim ID with streaming enabled.

How do I connect to streaming?

Connecting to the video streaming is the same process as PROD. You will just need to make sure that you are licensed to connect to golf streaming event. Please double check licensing with the integration team. The golf video stream in sims are not geo-blocked so you should be able to load the test stream from anywhere in the world.