Google Endpoints API management
Google Endpoints API Management manages the ‘control plane’ of an API by providing support for authentication, billing, monitoring and quota control.
It achieves this by
>>> application = MyWsgiApp() # an existing WSGI application >>> >>> # the name of the controlled service >>> service_name = 'my-service-name' >>> >>> # The Id of a Google Cloud project with the Service Control and Service Management >>> # APIs enabled >>> project_id = 'my-project-id' >>> >>> # wrap the app for service control >>> from google.api.control import client, wsgi >>> control_client = client.Loaders.DEFAULT.load(service_name) >>> control_client.start() >>> controlled_app = wsgi.add_all(application, project_id, control_client) >>> >>> # now use the controlled in place of application >>> my_server.serve(controlled_app)
Install using pip
[sudo] pip install google-endpoints-api-management
endpoints-management-python is currently tested with Python 2.7 and Python 3.6.
Contributions to this library are always welcome and highly encouraged.
See the CONTRIBUTING documentation for more information on how to get started.
This library follows Semantic Versioning
For detailed documentation of the modules in endpoints-management-python, please watch DOCUMENTATION.
Apache - See the full LICENSE for more information.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|google_endpoints_api_management-1.1.3-py2.py3-none-any.whl (173.9 kB) Copy SHA256 Checksum SHA256||py2.py3||Wheel||Jul 6, 2017|
|google-endpoints-api-management-1.1.3.tar.gz (116.0 kB) Copy SHA256 Checksum SHA256||–||Source||Jul 6, 2017|