See this add-on on the kodi.tv showcase
A packaged version of all the libraries needed for Google API access via python.