def _request_user_info(credentials):
    http = httplib2.Http()
    credentials.authorize(http)
    resp, content = http.request(
        'https://www.googleapis.com/plus/v1/people/me')

    if resp.status != 200:
        current_app.logger.error(
            "Error while obtaining user profile: %s" % resp)
        return None

    session['profile'] = json.loads(content.decode('utf-8'))
Choose individual activity patterns for people.
dataset/ETHPy150Open GoogleCloudPlatform/getting-started-python/6-pubsub/bookshelf/__init__.py/_request_user_info--crossover with--dataset/ETHPy150Open UDST/activitysim/activitysim/cdap/cdap.py/run_cdap