Get bone position in world space and rotate camera around it.

Subject. I am using Manuel Bastioni addon, what i want is to get “head” bone, and make camera rotate around it. So every time I init another character, and press run script I could get a camera, that is positioned at the same height as head bone, and rotate it by some random degree around bone position. I am pretty new to the python or blender API, so i’m struggling pretty hard to make it work, but no success yet. If you can help me, it would be a relief. Ty all anyways.