{"action":"closed","number":42,"pull_request":{"url":"https://api.github.com/repos/baturin/wikivoyage-listings/pulls/42","id":139336728,"html_url":"https://github.com/baturin/wikivoyage-listings/pull/42","diff_url":"https://github.com/baturin/wikivoyage-listings/pull/42.diff","patch_url":"https://github.com/baturin/wikivoyage-listings/pull/42.patch","issue_url":"https://api.github.com/repos/baturin/wikivoyage-listings/issues/42","number":42,"state":"closed","locked":false,"title":"Parse diplomatic representations (embassies and consulates) #23","user":{"login":"imanc","id":1488080,"avatar_url":"https://avatars1.githubusercontent.com/u/1488080?v=4","gravatar_id":"","url":"https://api.github.com/users/imanc","html_url":"https://github.com/imanc","followers_url":"https://api.github.com/users/imanc/followers","following_url":"https://api.github.com/users/imanc/following{/other_user}","gists_url":"https://api.github.com/users/imanc/gists{/gist_id}","starred_url":"https://api.github.com/users/imanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imanc/subscriptions","organizations_url":"https://api.github.com/users/imanc/orgs","repos_url":"https://api.github.com/users/imanc/repos","events_url":"https://api.github.com/users/imanc/events{/privacy}","received_events_url":"https://api.github.com/users/imanc/received_events","type":"User","site_admin":false},"body":"HI, here the code to parse diplomatic representations. I found this solution to avoid changing all poytype detection logic. Tell me if it's ok or I have to change strategy.","created_at":"2017-09-05T14:22:34Z","updated_at":"2017-09-07T04:13:04Z","closed_at":"2017-09-07T04:13:04Z","merged_at":"2017-09-07T04:13:04Z","merge_commit_sha":"5e03af2a1788c33f0e570d9bbcd005462e68cca2","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/baturin/wikivoyage-listings/pulls/42/commits","review_comments_url":"https://api.github.com/repos/baturin/wikivoyage-listings/pulls/42/comments","review_comment_url":"https://api.github.com/repos/baturin/wikivoyage-listings/pulls/comments{/number}","comments_url":"https://api.github.com/repos/baturin/wikivoyage-listings/issues/42/comments","statuses_url":"https://api.github.com/repos/baturin/wikivoyage-listings/statuses/5e03af2a1788c33f0e570d9bbcd005462e68cca2","head":{"label":"imanc:master","ref":"master","sha":"5e03af2a1788c33f0e570d9bbcd005462e68cca2","user":{"login":"imanc","id":1488080,"avatar_url":"https://avatars1.githubusercontent.com/u/1488080?v=4","gravatar_id":"","url":"https://api.github.com/users/imanc","html_url":"https://github.com/imanc","followers_url":"https://api.github.com/users/imanc/followers","following_url":"https://api.github.com/users/imanc/following{/other_user}","gists_url":"https://api.github.com/users/imanc/gists{/gist_id}","starred_url":"https://api.github.com/users/imanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imanc/subscriptions","organizations_url":"https://api.github.com/users/imanc/orgs","repos_url":"https://api.github.com/users/imanc/repos","events_url":"https://api.github.com/users/imanc/events{/privacy}","received_events_url":"https://api.github.com/users/imanc/received_events","type":"User","site_admin":false},"repo":{"id":101723519,"name":"wikivoyage-listings","full_name":"imanc/wikivoyage-listings","owner":{"login":"imanc","id":1488080,"avatar_url":"https://avatars1.githubusercontent.com/u/1488080?v=4","gravatar_id":"","url":"https://api.github.com/users/imanc","html_url":"https://github.com/imanc","followers_url":"https://api.github.com/users/imanc/followers","following_url":"https://api.github.com/users/imanc/following{/other_user}","gists_url":"https://api.github.com/users/imanc/gists{/gist_id}","starred_url":"https://api.github.com/users/imanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imanc/subscriptions","organizations_url":"https://api.github.com/users/imanc/orgs","repos_url":"https://api.github.com/users/imanc/repos","events_url":"https://api.github.com/users/imanc/events{/privacy}","received_events_url":"https://api.github.com/users/imanc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/imanc/wikivoyage-listings","description":"Data extracted from Wikivoyage, the free travel guide at http://wikivoyage.org. Leverage Wikivoyage listings on your smartphone, or in your own mashups.","fork":true,"url":"https://api.github.com/repos/imanc/wikivoyage-listings","forks_url":"https://api.github.com/repos/imanc/wikivoyage-listings/forks","keys_url":"https://api.github.com/repos/imanc/wikivoyage-listings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/imanc/wikivoyage-listings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/imanc/wikivoyage-listings/teams","hooks_url":"https://api.github.com/repos/imanc/wikivoyage-listings/hooks","issue_events_url":"https://api.github.com/repos/imanc/wikivoyage-listings/issues/events{/number}","events_url":"https://api.github.com/repos/imanc/wikivoyage-listings/events","assignees_url":"https://api.github.com/repos/imanc/wikivoyage-listings/assignees{/user}","branches_url":"https://api.github.com/repos/imanc/wikivoyage-listings/branches{/branch}","tags_url":"https://api.github.com/repos/imanc/wikivoyage-listings/tags","blobs_url":"https://api.github.com/repos/imanc/wikivoyage-listings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/imanc/wikivoyage-listings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/imanc/wikivoyage-listings/git/refs{/sha}","trees_url":"https://api.github.com/repos/imanc/wikivoyage-listings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/imanc/wikivoyage-listings/statuses/{sha}","languages_url":"https://api.github.com/repos/imanc/wikivoyage-listings/languages","stargazers_url":"https://api.github.com/repos/imanc/wikivoyage-listings/stargazers","contributors_url":"https://api.github.com/repos/imanc/wikivoyage-listings/contributors","subscribers_url":"https://api.github.com/repos/imanc/wikivoyage-listings/subscribers","subscription_url":"https://api.github.com/repos/imanc/wikivoyage-listings/subscription","commits_url":"https://api.github.com/repos/imanc/wikivoyage-listings/commits{/sha}","git_commits_url":"https://api.github.com/repos/imanc/wikivoyage-listings/git/commits{/sha}","comments_url":"https://api.github.com/repos/imanc/wikivoyage-listings/comments{/number}","issue_comment_url":"https://api.github.com/repos/imanc/wikivoyage-listings/issues/comments{/number}","contents_url":"https://api.github.com/repos/imanc/wikivoyage-listings/contents/{+path}","compare_url":"https://api.github.com/repos/imanc/wikivoyage-listings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/imanc/wikivoyage-listings/merges","archive_url":"https://api.github.com/repos/imanc/wikivoyage-listings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/imanc/wikivoyage-listings/downloads","issues_url":"https://api.github.com/repos/imanc/wikivoyage-listings/issues{/number}","pulls_url":"https://api.github.com/repos/imanc/wikivoyage-listings/pulls{/number}","milestones_url":"https://api.github.com/repos/imanc/wikivoyage-listings/milestones{/number}","notifications_url":"https://api.github.com/repos/imanc/wikivoyage-listings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/imanc/wikivoyage-listings/labels{/name}","releases_url":"https://api.github.com/repos/imanc/wikivoyage-listings/releases{/id}","deployments_url":"https://api.github.com/repos/imanc/wikivoyage-listings/deployments","created_at":"2017-08-29T05:46:55Z","updated_at":"2017-08-29T05:46:57Z","pushed_at":"2017-09-05T18:36:51Z","git_url":"git://github.com/imanc/wikivoyage-listings.git","ssh_url":"git@github.com:imanc/wikivoyage-listings.git","clone_url":"https://github.com/imanc/wikivoyage-listings.git","svn_url":"https://github.com/imanc/wikivoyage-listings","homepage":"http://wvpoi.batalex.ru/","size":43986,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"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":"baturin:master","ref":"master","sha":"b2919bf707ee2dbb09e522e173610a6eda4fcecf","user":{"login":"baturin","id":378300,"avatar_url":"https://avatars1.githubusercontent.com/u/378300?v=4","gravatar_id":"","url":"https://api.github.com/users/baturin","html_url":"https://github.com/baturin","followers_url":"https://api.github.com/users/baturin/followers","following_url":"https://api.github.com/users/baturin/following{/other_user}","gists_url":"https://api.github.com/users/baturin/gists{/gist_id}","starred_url":"https://api.github.com/users/baturin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baturin/subscriptions","organizations_url":"https://api.github.com/users/baturin/orgs","repos_url":"https://api.github.com/users/baturin/repos","events_url":"https://api.github.com/users/baturin/events{/privacy}","received_events_url":"https://api.github.com/users/baturin/received_events","type":"User","site_admin":false},"repo":{"id":30256604,"name":"wikivoyage-listings","full_name":"baturin/wikivoyage-listings","owner":{"login":"baturin","id":378300,"avatar_url":"https://avatars1.githubusercontent.com/u/378300?v=4","gravatar_id":"","url":"https://api.github.com/users/baturin","html_url":"https://github.com/baturin","followers_url":"https://api.github.com/users/baturin/followers","following_url":"https://api.github.com/users/baturin/following{/other_user}","gists_url":"https://api.github.com/users/baturin/gists{/gist_id}","starred_url":"https://api.github.com/users/baturin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baturin/subscriptions","organizations_url":"https://api.github.com/users/baturin/orgs","repos_url":"https://api.github.com/users/baturin/repos","events_url":"https://api.github.com/users/baturin/events{/privacy}","received_events_url":"https://api.github.com/users/baturin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/baturin/wikivoyage-listings","description":"Data extracted from Wikivoyage, the free travel guide at http://wikivoyage.org. Leverage Wikivoyage listings on your smartphone, or in your own mashups.","fork":false,"url":"https://api.github.com/repos/baturin/wikivoyage-listings","forks_url":"https://api.github.com/repos/baturin/wikivoyage-listings/forks","keys_url":"https://api.github.com/repos/baturin/wikivoyage-listings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baturin/wikivoyage-listings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baturin/wikivoyage-listings/teams","hooks_url":"https://api.github.com/repos/baturin/wikivoyage-listings/hooks","issue_events_url":"https://api.github.com/repos/baturin/wikivoyage-listings/issues/events{/number}","events_url":"https://api.github.com/repos/baturin/wikivoyage-listings/events","assignees_url":"https://api.github.com/repos/baturin/wikivoyage-listings/assignees{/user}","branches_url":"https://api.github.com/repos/baturin/wikivoyage-listings/branches{/branch}","tags_url":"https://api.github.com/repos/baturin/wikivoyage-listings/tags","blobs_url":"https://api.github.com/repos/baturin/wikivoyage-listings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baturin/wikivoyage-listings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baturin/wikivoyage-listings/git/refs{/sha}","trees_url":"https://api.github.com/repos/baturin/wikivoyage-listings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baturin/wikivoyage-listings/statuses/{sha}","languages_url":"https://api.github.com/repos/baturin/wikivoyage-listings/languages","stargazers_url":"https://api.github.com/repos/baturin/wikivoyage-listings/stargazers","contributors_url":"https://api.github.com/repos/baturin/wikivoyage-listings/contributors","subscribers_url":"https://api.github.com/repos/baturin/wikivoyage-listings/subscribers","subscription_url":"https://api.github.com/repos/baturin/wikivoyage-listings/subscription","commits_url":"https://api.github.com/repos/baturin/wikivoyage-listings/commits{/sha}","git_commits_url":"https://api.github.com/repos/baturin/wikivoyage-listings/git/commits{/sha}","comments_url":"https://api.github.com/repos/baturin/wikivoyage-listings/comments{/number}","issue_comment_url":"https://api.github.com/repos/baturin/wikivoyage-listings/issues/comments{/number}","contents_url":"https://api.github.com/repos/baturin/wikivoyage-listings/contents/{+path}","compare_url":"https://api.github.com/repos/baturin/wikivoyage-listings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baturin/wikivoyage-listings/merges","archive_url":"https://api.github.com/repos/baturin/wikivoyage-listings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baturin/wikivoyage-listings/downloads","issues_url":"https://api.github.com/repos/baturin/wikivoyage-listings/issues{/number}","pulls_url":"https://api.github.com/repos/baturin/wikivoyage-listings/pulls{/number}","milestones_url":"https://api.github.com/repos/baturin/wikivoyage-listings/milestones{/number}","notifications_url":"https://api.github.com/repos/baturin/wikivoyage-listings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baturin/wikivoyage-listings/labels{/name}","releases_url":"https://api.github.com/repos/baturin/wikivoyage-listings/releases{/id}","deployments_url":"https://api.github.com/repos/baturin/wikivoyage-listings/deployments","created_at":"2015-02-03T17:59:41Z","updated_at":"2017-08-29T05:46:29Z","pushed_at":"2017-09-07T04:13:03Z","git_url":"git://github.com/baturin/wikivoyage-listings.git","ssh_url":"git@github.com:baturin/wikivoyage-listings.git","clone_url":"https://github.com/baturin/wikivoyage-listings.git","svn_url":"https://github.com/baturin/wikivoyage-listings","homepage":"http://wvpoi.batalex.ru/","size":43978,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":14,"forks":3,"open_issues":14,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/baturin/wikivoyage-listings/pulls/42"},"html":{"href":"https://github.com/baturin/wikivoyage-listings/pull/42"},"issue":{"href":"https://api.github.com/repos/baturin/wikivoyage-listings/issues/42"},"comments":{"href":"https://api.github.com/repos/baturin/wikivoyage-listings/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/baturin/wikivoyage-listings/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/baturin/wikivoyage-listings/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/baturin/wikivoyage-listings/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/baturin/wikivoyage-listings/statuses/5e03af2a1788c33f0e570d9bbcd005462e68cca2"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"nicolas-raoul","id":99590,"avatar_url":"https://avatars1.githubusercontent.com/u/99590?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolas-raoul","html_url":"https://github.com/nicolas-raoul","followers_url":"https://api.github.com/users/nicolas-raoul/followers","following_url":"https://api.github.com/users/nicolas-raoul/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-raoul/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-raoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-raoul/subscriptions","organizations_url":"https://api.github.com/users/nicolas-raoul/orgs","repos_url":"https://api.github.com/users/nicolas-raoul/repos","events_url":"https://api.github.com/users/nicolas-raoul/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-raoul/received_events","type":"User","site_admin":false},"comments":0,"review_comments":4,"maintainer_can_modify":false,"commits":7,"additions":165,"deletions":113,"changed_files":6}}
{"actor":{"display_login":"nicolas-raoul"}}