Google Endpoints API management
Project description
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
allowing HTTP servers to control access to their APIs using the Google Service Management and Google Service Control APIs
providing built-in, standards-compliant support for third-party authentication
doing this with minimal performance impact via the use of advanced caching and aggregation algorithms
making this easy to integrate via a set of WSGI middleware
Example:
>>> 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)
Installation
Install using pip
[sudo] pip install google-endpoints-api-management
Python Versions
google-endpoints-api-management is currently tested with Python 2.7.
Contributions
Contributions to this library are always welcome and highly encouraged.
See the CONTRIBUTING documentation for more information on how to get started.
Versioning
This library follows Semantic Versioning
Details
For detailed documentation of the modules in google-endpoints-api-management, please watch DOCUMENTATION.
Licensing
Apache - See LICENSE for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for google-endpoints-api-management-1.0.0b2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2438662f2bcca38b458a7c14c336be022366c90b15232452e490c589b05d238 |
|
MD5 | 78831ae13f6f1c5f130685af02807a2f |
|
BLAKE2b-256 | ce240184b6541d19a57ac2352bf742b143673c0a80b926fac6ff72c6dfc17bfe |