{"action":"opened","number":766,"pull_request":{"url":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/766","id":64796809,"html_url":"https://github.com/mysociety/yournextrepresentative/pull/766","diff_url":"https://github.com/mysociety/yournextrepresentative/pull/766.diff","patch_url":"https://github.com/mysociety/yournextrepresentative/pull/766.patch","issue_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/766","number":766,"state":"open","locked":false,"title":"Create from search","user":{"login":"symroe","id":242329,"avatar_url":"https://avatars.githubusercontent.com/u/242329?v=3","gravatar_id":"","url":"https://api.github.com/users/symroe","html_url":"https://github.com/symroe","followers_url":"https://api.github.com/users/symroe/followers","following_url":"https://api.github.com/users/symroe/following{/other_user}","gists_url":"https://api.github.com/users/symroe/gists{/gist_id}","starred_url":"https://api.github.com/users/symroe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symroe/subscriptions","organizations_url":"https://api.github.com/users/symroe/orgs","repos_url":"https://api.github.com/users/symroe/repos","events_url":"https://api.github.com/users/symroe/events{/privacy}","received_events_url":"https://api.github.com/users/symroe/received_events","type":"User","site_admin":false},"body":"## Search:\r\n\r\n![screenshot 2016-03-31 15 11 12](https://cloud.githubusercontent.com/assets/242329/14178516/e75517c0-f752-11e5-876f-a9d04e48c84c.png)\r\n\r\n\r\n## Select election:\r\n![screenshot 2016-03-31 15 11 24](https://cloud.githubusercontent.com/assets/242329/14178522/eb10413c-f752-11e5-9cd8-6a6de9d420e9.png)\r\n\r\n\r\n## Pre-populated create person form:\r\n3. ![screenshot 2016-03-31 15 11 45](https://cloud.githubusercontent.com/assets/242329/14178527/ed5e21a2-f752-11e5-9d01-f1ca2edc5a8e.png)","created_at":"2016-03-31T14:13:07Z","updated_at":"2016-03-31T14:13:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/766/commits","review_comments_url":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/766/comments","review_comment_url":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/766/comments","statuses_url":"https://api.github.com/repos/mysociety/yournextrepresentative/statuses/afc9b0644aadff460b636f4e4d7897c8cab4547e","head":{"label":"DemocracyClub:create_from_search","ref":"create_from_search","sha":"afc9b0644aadff460b636f4e4d7897c8cab4547e","user":{"login":"DemocracyClub","id":6901194,"avatar_url":"https://avatars.githubusercontent.com/u/6901194?v=3","gravatar_id":"","url":"https://api.github.com/users/DemocracyClub","html_url":"https://github.com/DemocracyClub","followers_url":"https://api.github.com/users/DemocracyClub/followers","following_url":"https://api.github.com/users/DemocracyClub/following{/other_user}","gists_url":"https://api.github.com/users/DemocracyClub/gists{/gist_id}","starred_url":"https://api.github.com/users/DemocracyClub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DemocracyClub/subscriptions","organizations_url":"https://api.github.com/users/DemocracyClub/orgs","repos_url":"https://api.github.com/users/DemocracyClub/repos","events_url":"https://api.github.com/users/DemocracyClub/events{/privacy}","received_events_url":"https://api.github.com/users/DemocracyClub/received_events","type":"Organization","site_admin":false},"repo":{"id":50421953,"name":"yournextrepresentative","full_name":"DemocracyClub/yournextrepresentative","owner":{"login":"DemocracyClub","id":6901194,"avatar_url":"https://avatars.githubusercontent.com/u/6901194?v=3","gravatar_id":"","url":"https://api.github.com/users/DemocracyClub","html_url":"https://github.com/DemocracyClub","followers_url":"https://api.github.com/users/DemocracyClub/followers","following_url":"https://api.github.com/users/DemocracyClub/following{/other_user}","gists_url":"https://api.github.com/users/DemocracyClub/gists{/gist_id}","starred_url":"https://api.github.com/users/DemocracyClub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DemocracyClub/subscriptions","organizations_url":"https://api.github.com/users/DemocracyClub/orgs","repos_url":"https://api.github.com/users/DemocracyClub/repos","events_url":"https://api.github.com/users/DemocracyClub/events{/privacy}","received_events_url":"https://api.github.com/users/DemocracyClub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DemocracyClub/yournextrepresentative","description":"A website for crowd-sourcing structured election candidate data","fork":true,"url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative","forks_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/forks","keys_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/teams","hooks_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/hooks","issue_events_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/issues/events{/number}","events_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/events","assignees_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/assignees{/user}","branches_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/branches{/branch}","tags_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/tags","blobs_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/git/refs{/sha}","trees_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/statuses/{sha}","languages_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/languages","stargazers_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/stargazers","contributors_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/contributors","subscribers_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/subscribers","subscription_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/subscription","commits_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/commits{/sha}","git_commits_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/git/commits{/sha}","comments_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/comments{/number}","issue_comment_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/issues/comments{/number}","contents_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/contents/{+path}","compare_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/merges","archive_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/downloads","issues_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/issues{/number}","pulls_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/pulls{/number}","milestones_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/milestones{/number}","notifications_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/labels{/name}","releases_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/releases{/id}","deployments_url":"https://api.github.com/repos/DemocracyClub/yournextrepresentative/deployments","created_at":"2016-01-26T10:37:25Z","updated_at":"2016-01-26T10:37:27Z","pushed_at":"2016-03-31T14:10:33Z","git_url":"git://github.com/DemocracyClub/yournextrepresentative.git","ssh_url":"git@github.com:DemocracyClub/yournextrepresentative.git","clone_url":"https://github.com/DemocracyClub/yournextrepresentative.git","svn_url":"https://github.com/DemocracyClub/yournextrepresentative","homepage":"https://edit.yournextmp.com","size":6005,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mysociety:master","ref":"master","sha":"1d5cb63bc16a7c3aedeed4128a4aef089b77a704","user":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"repo":{"id":23865131,"name":"yournextrepresentative","full_name":"mysociety/yournextrepresentative","owner":{"login":"mysociety","id":141338,"avatar_url":"https://avatars.githubusercontent.com/u/141338?v=3","gravatar_id":"","url":"https://api.github.com/users/mysociety","html_url":"https://github.com/mysociety","followers_url":"https://api.github.com/users/mysociety/followers","following_url":"https://api.github.com/users/mysociety/following{/other_user}","gists_url":"https://api.github.com/users/mysociety/gists{/gist_id}","starred_url":"https://api.github.com/users/mysociety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysociety/subscriptions","organizations_url":"https://api.github.com/users/mysociety/orgs","repos_url":"https://api.github.com/users/mysociety/repos","events_url":"https://api.github.com/users/mysociety/events{/privacy}","received_events_url":"https://api.github.com/users/mysociety/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mysociety/yournextrepresentative","description":"A website for crowd-sourcing structured election candidate data","fork":false,"url":"https://api.github.com/repos/mysociety/yournextrepresentative","forks_url":"https://api.github.com/repos/mysociety/yournextrepresentative/forks","keys_url":"https://api.github.com/repos/mysociety/yournextrepresentative/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mysociety/yournextrepresentative/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mysociety/yournextrepresentative/teams","hooks_url":"https://api.github.com/repos/mysociety/yournextrepresentative/hooks","issue_events_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/events{/number}","events_url":"https://api.github.com/repos/mysociety/yournextrepresentative/events","assignees_url":"https://api.github.com/repos/mysociety/yournextrepresentative/assignees{/user}","branches_url":"https://api.github.com/repos/mysociety/yournextrepresentative/branches{/branch}","tags_url":"https://api.github.com/repos/mysociety/yournextrepresentative/tags","blobs_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/refs{/sha}","trees_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mysociety/yournextrepresentative/statuses/{sha}","languages_url":"https://api.github.com/repos/mysociety/yournextrepresentative/languages","stargazers_url":"https://api.github.com/repos/mysociety/yournextrepresentative/stargazers","contributors_url":"https://api.github.com/repos/mysociety/yournextrepresentative/contributors","subscribers_url":"https://api.github.com/repos/mysociety/yournextrepresentative/subscribers","subscription_url":"https://api.github.com/repos/mysociety/yournextrepresentative/subscription","commits_url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits{/sha}","git_commits_url":"https://api.github.com/repos/mysociety/yournextrepresentative/git/commits{/sha}","comments_url":"https://api.github.com/repos/mysociety/yournextrepresentative/comments{/number}","issue_comment_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/comments{/number}","contents_url":"https://api.github.com/repos/mysociety/yournextrepresentative/contents/{+path}","compare_url":"https://api.github.com/repos/mysociety/yournextrepresentative/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mysociety/yournextrepresentative/merges","archive_url":"https://api.github.com/repos/mysociety/yournextrepresentative/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mysociety/yournextrepresentative/downloads","issues_url":"https://api.github.com/repos/mysociety/yournextrepresentative/issues{/number}","pulls_url":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls{/number}","milestones_url":"https://api.github.com/repos/mysociety/yournextrepresentative/milestones{/number}","notifications_url":"https://api.github.com/repos/mysociety/yournextrepresentative/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mysociety/yournextrepresentative/labels{/name}","releases_url":"https://api.github.com/repos/mysociety/yournextrepresentative/releases{/id}","deployments_url":"https://api.github.com/repos/mysociety/yournextrepresentative/deployments","created_at":"2014-09-10T07:32:13Z","updated_at":"2016-02-03T21:55:37Z","pushed_at":"2016-03-31T10:39:05Z","git_url":"git://github.com/mysociety/yournextrepresentative.git","ssh_url":"git@github.com:mysociety/yournextrepresentative.git","clone_url":"https://github.com/mysociety/yournextrepresentative.git","svn_url":"https://github.com/mysociety/yournextrepresentative","homepage":"https://edit.yournextmp.com","size":6574,"stargazers_count":37,"watchers_count":37,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":168,"forks":19,"open_issues":168,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/766"},"html":{"href":"https://github.com/mysociety/yournextrepresentative/pull/766"},"issue":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/766"},"comments":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/issues/766/comments"},"review_comments":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/766/comments"},"review_comment":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/pulls/766/commits"},"statuses":{"href":"https://api.github.com/repos/mysociety/yournextrepresentative/statuses/afc9b0644aadff460b636f4e4d7897c8cab4547e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":101,"deletions":36,"changed_files":5}}