How to get Groupshare version ?

Hi,

I have simple question, how to get GS Version number ? 

I want to call some methods related to phases and assigments only when they are available in API, and want to find it out in other way than catching exception with HTTP bad request info.

Regards