def _get_linkedin_user_info(self, auth_info, key=None, secret=None):
        token = oauth1.Token(key=auth_info['oauth_token'], secret=auth_info['oauth_token_secret'])
        client = self._oauth1_client(token, key, secret)
        resp, content = client.request(
          'http://api.linkedin.com/v1/people/~:(id,first-name,last-name,picture-url,public-profile-url,headline)'
        )

        person = etree.fromstring(content)
        uinfo = {}
        for e in person:
            uinfo.setdefault(e.tag, e.text)

        return uinfo
Split the runs by day, so we can display them grouped that way.
dataset/ETHPy150Open ibagrak/algae/gae/libs/simpleauth/handler.py/SimpleAuthHandler._get_linkedin_user_info--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/reporting/reporting_server.py/PantsHandler._partition_runs_by_day