google端点api管理
google-endpoints-api-management的Python项目详细描述
google endpoints api管理通过 为认证、计费、监控和配额控制提供支持。
它通过
- 允许http服务器使用google服务管理和google服务控制api控制对其api的访问
- 为第三方身份验证提供内置的、符合标准的支持
- 通过使用高级缓存和聚合算法,在对性能影响最小的情况下执行此操作
- 通过一组WSGI中间件简化集成
示例:
>>>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>>>fromendpoints_management.controlimportclient,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)
python版本
端点管理python目前是用python 2.7测试的。
版本控制
这个库遵循Semantic Versioning
详细信息
有关endpoints management python中模块的详细文档,请查看DOCUMENTATION。
许可证
apache-有关更多信息,请参见the full LICENSE。