How can I get position, velocity, acceleration data from my VR Controllers in C++?

I want to try using an API like this. But it’s only for Oculus.

Where can I find a module, library, functions that does this?