{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/PyFxA/issues/15","labels_url":"https://api.github.com/repos/mozilla/PyFxA/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/PyFxA/issues/15/comments","events_url":"https://api.github.com/repos/mozilla/PyFxA/issues/15/events","html_url":"https://github.com/mozilla/PyFxA/pull/15","id":60451989,"number":15,"title":"Add basic API for accessing user profile data.","user":{"login":"rfk","id":34695,"avatar_url":"https://avatars.githubusercontent.com/u/34695?v=3","gravatar_id":"","url":"https://api.github.com/users/rfk","html_url":"https://github.com/rfk","followers_url":"https://api.github.com/users/rfk/followers","following_url":"https://api.github.com/users/rfk/following{/other_user}","gists_url":"https://api.github.com/users/rfk/gists{/gist_id}","starred_url":"https://api.github.com/users/rfk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfk/subscriptions","organizations_url":"https://api.github.com/users/rfk/orgs","repos_url":"https://api.github.com/users/rfk/repos","events_url":"https://api.github.com/users/rfk/events{/privacy}","received_events_url":"https://api.github.com/users/rfk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-10T05:11:30Z","updated_at":"2015-03-11T09:08:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/PyFxA/pulls/15","html_url":"https://github.com/mozilla/PyFxA/pull/15","diff_url":"https://github.com/mozilla/PyFxA/pull/15.diff","patch_url":"https://github.com/mozilla/PyFxA/pull/15.patch"},"body":"Here's a super simple API for talking to the profile server, https://github.com/mozilla/fxa-profile-server/.  Pass in an OAuth token with appropriate scope, get back the associated profile info.  We might come up with some more over-arching \"user\" abstraction in future, but I think this will be a handy start for reliers.\r\n\r\n@Natim r?"},"comment":{"url":"https://api.github.com/repos/mozilla/PyFxA/issues/comments/78227367","html_url":"https://github.com/mozilla/PyFxA/pull/15#issuecomment-78227367","issue_url":"https://api.github.com/repos/mozilla/PyFxA/issues/15","id":78227367,"user":{"login":"rfk","id":34695,"avatar_url":"https://avatars.githubusercontent.com/u/34695?v=3","gravatar_id":"","url":"https://api.github.com/users/rfk","html_url":"https://github.com/rfk","followers_url":"https://api.github.com/users/rfk/followers","following_url":"https://api.github.com/users/rfk/following{/other_user}","gists_url":"https://api.github.com/users/rfk/gists{/gist_id}","starred_url":"https://api.github.com/users/rfk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfk/subscriptions","organizations_url":"https://api.github.com/users/rfk/orgs","repos_url":"https://api.github.com/users/rfk/repos","events_url":"https://api.github.com/users/rfk/events{/privacy}","received_events_url":"https://api.github.com/users/rfk/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T09:08:17Z","updated_at":"2015-03-11T09:08:17Z","body":"Fixed to check \"avatar\" field in get_profile()."}}