Regarding the Siyi A8 mini gimbal

Is there a parameter or a way to take in the orientation data of siyi A8mini’s camera ? As I require the orientation of where the gimbal is pointing for a project. So, is it possible to get access to that data and maybe pass it as a parameter to a companion computer like Raspberry Pi 4b?