Hi.
First of all this scripts will not work out of the box on google app engine, this scripts usually are started from a cmd line and a temporary webserver is started where the oauth callback is returned, which will not work on GAE. We can do some changes to make it work.
Also, what data from google analytics you want to display?
Thx, waiting for details. Hope we will collaborate.