How to Google Cloud Endpoints with Python
<script src="https://apis.google.com/js/client.js?onload=init"></script>
function init() {
var ROOT = 'https://<your-app>.appspot.com/_ah/api';
gapi.client.load('yourApi', 'v1', clientLoaded, ROOT);
}
function clientLoaded() {
gapi.client.yourApi.method(parameters).execute(function(response) {
// handle response
});
}