python: renamed api methods to services.