{"action":"created","issue":{"url":"https://api.github.com/repos/everypolitician/everypolitician-popolo/issues/38","repository_url":"https://api.github.com/repos/everypolitician/everypolitician-popolo","labels_url":"https://api.github.com/repos/everypolitician/everypolitician-popolo/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/everypolitician/everypolitician-popolo/issues/38/comments","events_url":"https://api.github.com/repos/everypolitician/everypolitician-popolo/issues/38/events","html_url":"https://github.com/everypolitician/everypolitician-popolo/pull/38","id":166570964,"number":38,"title":"Add methods for accessing legislative periods","user":{"login":"chrismytton","id":22996,"avatar_url":"https://avatars.githubusercontent.com/u/22996?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismytton","html_url":"https://github.com/chrismytton","followers_url":"https://api.github.com/users/chrismytton/followers","following_url":"https://api.github.com/users/chrismytton/following{/other_user}","gists_url":"https://api.github.com/users/chrismytton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismytton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismytton/subscriptions","organizations_url":"https://api.github.com/users/chrismytton/orgs","repos_url":"https://api.github.com/users/chrismytton/repos","events_url":"https://api.github.com/users/chrismytton/events{/privacy}","received_events_url":"https://api.github.com/users/chrismytton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/everypolitician/everypolitician-popolo/labels/3%20-%20WIP","name":"3 - WIP","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-20T12:37:40Z","updated_at":"2016-07-21T10:18:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/everypolitician/everypolitician-popolo/pulls/38","html_url":"https://github.com/everypolitician/everypolitician-popolo/pull/38","diff_url":"https://github.com/everypolitician/everypolitician-popolo/pull/38.diff","patch_url":"https://github.com/everypolitician/everypolitician-popolo/pull/38.patch"},"body":"This adds a method to return the events that have `classification` of `legislative period`. It also adds a `current_legislative_period` (aliases to `current_term`) method, which will return the most recent term in the popolo (though it may not actually be the latest term).\r\n\r\nFixes https://github.com/everypolitician/everypolitician-popolo/issues/35"},"comment":{"url":"https://api.github.com/repos/everypolitician/everypolitician-popolo/issues/comments/234214115","html_url":"https://github.com/everypolitician/everypolitician-popolo/pull/38#issuecomment-234214115","issue_url":"https://api.github.com/repos/everypolitician/everypolitician-popolo/issues/38","id":234214115,"user":{"login":"chrismytton","id":22996,"avatar_url":"https://avatars.githubusercontent.com/u/22996?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismytton","html_url":"https://github.com/chrismytton","followers_url":"https://api.github.com/users/chrismytton/followers","following_url":"https://api.github.com/users/chrismytton/following{/other_user}","gists_url":"https://api.github.com/users/chrismytton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismytton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismytton/subscriptions","organizations_url":"https://api.github.com/users/chrismytton/orgs","repos_url":"https://api.github.com/users/chrismytton/repos","events_url":"https://api.github.com/users/chrismytton/events{/privacy}","received_events_url":"https://api.github.com/users/chrismytton/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T10:18:11Z","updated_at":"2016-07-21T10:18:11Z","body":"OK, I think this is ready for review now."}}
{"actor":{"display_login":"chrismytton"}}