How to use Tobii Glasses with g3pylib

Does anyone have a code/script for using Tobii Pro Glasses 3 with the g3pylib package and would be willing to share it? Unfortunately, the examples provided on GitHub (tobiipro/g3pylib) only allowed me to connect to the glasses, but not much more.
I would like to know how to:

  • Run calibration at the beginning of my experiment
  • Start and stop recording
  • Access eye-tracking events
  • Send signals to the eye tracker

I would really appreciate any help. Thanks in advance!
Piotr