If I knew anything about it I might suggest that the Crew Chief SDK is what you need but the only reference I can find is this:
Code:
Crew Chief SDK/Shared Memory----------------------------
Crew Chief now exposes some of its internals via Shared Memory block. Currently, subtitle information is exposed, but we might be adding more data in the future. See https://gitlab.com/mr_belowski/CrewChiefV4/-/blob/master/CrewChiefV4SDK/CrewChiefV4SDK/Program.cs to get started.
CrewChiefV4SDK/CrewChiefV4SDK · main · Jim Britton / CrewChiefV4 · GitLab