I usualy have a handler on the server that does show the current running
version. I'm more used to write Java code, but this handler may help you:
class CurrentVersion(webapp.RequestHandler):
def get(self):
self.response.headers["Content-Type"] = "text/plain"
self.response.out.write(os.environ["CURRENT_VERSION_ID"])
If you map it "/version" you can then access it with urllib on a client-side
code:
version = urllib2.urlopen("http://example.appspot.com/version").read()
I'm not sure if the remote api environment provides such funcionality, but
they may do ...
Hope this help,
-Ronoaldo
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/WGORg3dAd8MJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.