Add get_api() function

Returns either `OpenGl` or `OpenGlEs` depending on the platform.