api_version function

Get API version