{"action":"opened","number":100,"pull_request":{"url":"https://api.github.com/repos/goldsmith/Wikipedia/pulls/100","id":37943203,"html_url":"https://github.com/goldsmith/Wikipedia/pull/100","diff_url":"https://github.com/goldsmith/Wikipedia/pull/100.diff","patch_url":"https://github.com/goldsmith/Wikipedia/pull/100.patch","issue_url":"https://api.github.com/repos/goldsmith/Wikipedia/issues/100","number":100,"state":"open","locked":false,"title":"New Feature: Lang Title ","user":{"login":"alexsalo","id":1175808,"avatar_url":"https://avatars.githubusercontent.com/u/1175808?v=3","gravatar_id":"","url":"https://api.github.com/users/alexsalo","html_url":"https://github.com/alexsalo","followers_url":"https://api.github.com/users/alexsalo/followers","following_url":"https://api.github.com/users/alexsalo/following{/other_user}","gists_url":"https://api.github.com/users/alexsalo/gists{/gist_id}","starred_url":"https://api.github.com/users/alexsalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexsalo/subscriptions","organizations_url":"https://api.github.com/users/alexsalo/orgs","repos_url":"https://api.github.com/users/alexsalo/repos","events_url":"https://api.github.com/users/alexsalo/events{/privacy}","received_events_url":"https://api.github.com/users/alexsalo/received_events","type":"User","site_admin":false},"body":"# Get the title in specified language code. \r\n## Returns None if lang code or title isn't found, otherwise returns a string with title.\r\n\r\n#### Use case (minimal):\r\n```Python\r\nimport wikipedia as wk\r\npage = wk.page('cv joint')\r\nprint page.lang_title('ru')\r\n\r\n> Шарнир равных угловых скоростей\r\n```\r\n\r\n#### Use case (extended):\r\n```Python\r\nimport wikipedia as wk\r\nimport langid\r\nquery_test = 'теория относительности'\r\nlangid.set_languages(['en', 'ru'])\r\ndetected_langid = langid.classify(query_test)[0]\r\nprint 'detected: ' + detected_langid\r\nwk.set_lang(detected_langid)\r\npage = wk.page(query_test)\r\nprint page.lang_title('en')\r\n\r\n>detected: ru\r\n>Theory of relativity\r\n```","created_at":"2015-06-17T20:30:29Z","updated_at":"2015-06-17T20:30:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/goldsmith/Wikipedia/pulls/100/commits","review_comments_url":"https://api.github.com/repos/goldsmith/Wikipedia/pulls/100/comments","review_comment_url":"https://api.github.com/repos/goldsmith/Wikipedia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/goldsmith/Wikipedia/issues/100/comments","statuses_url":"https://api.github.com/repos/goldsmith/Wikipedia/statuses/25270e97fba4769f1b1d47277d9c4847a178d254","head":{"label":"alexsalo:master","ref":"master","sha":"25270e97fba4769f1b1d47277d9c4847a178d254","user":{"login":"alexsalo","id":1175808,"avatar_url":"https://avatars.githubusercontent.com/u/1175808?v=3","gravatar_id":"","url":"https://api.github.com/users/alexsalo","html_url":"https://github.com/alexsalo","followers_url":"https://api.github.com/users/alexsalo/followers","following_url":"https://api.github.com/users/alexsalo/following{/other_user}","gists_url":"https://api.github.com/users/alexsalo/gists{/gist_id}","starred_url":"https://api.github.com/users/alexsalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexsalo/subscriptions","organizations_url":"https://api.github.com/users/alexsalo/orgs","repos_url":"https://api.github.com/users/alexsalo/repos","events_url":"https://api.github.com/users/alexsalo/events{/privacy}","received_events_url":"https://api.github.com/users/alexsalo/received_events","type":"User","site_admin":false},"repo":{"id":32945735,"name":"Wikipedia","full_name":"alexsalo/Wikipedia","owner":{"login":"alexsalo","id":1175808,"avatar_url":"https://avatars.githubusercontent.com/u/1175808?v=3","gravatar_id":"","url":"https://api.github.com/users/alexsalo","html_url":"https://github.com/alexsalo","followers_url":"https://api.github.com/users/alexsalo/followers","following_url":"https://api.github.com/users/alexsalo/following{/other_user}","gists_url":"https://api.github.com/users/alexsalo/gists{/gist_id}","starred_url":"https://api.github.com/users/alexsalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexsalo/subscriptions","organizations_url":"https://api.github.com/users/alexsalo/orgs","repos_url":"https://api.github.com/users/alexsalo/repos","events_url":"https://api.github.com/users/alexsalo/events{/privacy}","received_events_url":"https://api.github.com/users/alexsalo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexsalo/Wikipedia","description":"A Pythonic wrapper for the Wikipedia API","fork":true,"url":"https://api.github.com/repos/alexsalo/Wikipedia","forks_url":"https://api.github.com/repos/alexsalo/Wikipedia/forks","keys_url":"https://api.github.com/repos/alexsalo/Wikipedia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexsalo/Wikipedia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexsalo/Wikipedia/teams","hooks_url":"https://api.github.com/repos/alexsalo/Wikipedia/hooks","issue_events_url":"https://api.github.com/repos/alexsalo/Wikipedia/issues/events{/number}","events_url":"https://api.github.com/repos/alexsalo/Wikipedia/events","assignees_url":"https://api.github.com/repos/alexsalo/Wikipedia/assignees{/user}","branches_url":"https://api.github.com/repos/alexsalo/Wikipedia/branches{/branch}","tags_url":"https://api.github.com/repos/alexsalo/Wikipedia/tags","blobs_url":"https://api.github.com/repos/alexsalo/Wikipedia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexsalo/Wikipedia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexsalo/Wikipedia/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexsalo/Wikipedia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexsalo/Wikipedia/statuses/{sha}","languages_url":"https://api.github.com/repos/alexsalo/Wikipedia/languages","stargazers_url":"https://api.github.com/repos/alexsalo/Wikipedia/stargazers","contributors_url":"https://api.github.com/repos/alexsalo/Wikipedia/contributors","subscribers_url":"https://api.github.com/repos/alexsalo/Wikipedia/subscribers","subscription_url":"https://api.github.com/repos/alexsalo/Wikipedia/subscription","commits_url":"https://api.github.com/repos/alexsalo/Wikipedia/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexsalo/Wikipedia/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexsalo/Wikipedia/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexsalo/Wikipedia/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexsalo/Wikipedia/contents/{+path}","compare_url":"https://api.github.com/repos/alexsalo/Wikipedia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexsalo/Wikipedia/merges","archive_url":"https://api.github.com/repos/alexsalo/Wikipedia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexsalo/Wikipedia/downloads","issues_url":"https://api.github.com/repos/alexsalo/Wikipedia/issues{/number}","pulls_url":"https://api.github.com/repos/alexsalo/Wikipedia/pulls{/number}","milestones_url":"https://api.github.com/repos/alexsalo/Wikipedia/milestones{/number}","notifications_url":"https://api.github.com/repos/alexsalo/Wikipedia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexsalo/Wikipedia/labels{/name}","releases_url":"https://api.github.com/repos/alexsalo/Wikipedia/releases{/id}","created_at":"2015-03-26T18:47:17Z","updated_at":"2015-03-26T20:44:51Z","pushed_at":"2015-06-17T20:22:11Z","git_url":"git://github.com/alexsalo/Wikipedia.git","ssh_url":"git@github.com:alexsalo/Wikipedia.git","clone_url":"https://github.com/alexsalo/Wikipedia.git","svn_url":"https://github.com/alexsalo/Wikipedia","homepage":"https://wikipedia.readthedocs.org/","size":310,"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":"goldsmith:master","ref":"master","sha":"96854a468c68ad5644dd6f7564e200012517405a","user":{"login":"goldsmith","id":3344078,"avatar_url":"https://avatars.githubusercontent.com/u/3344078?v=3","gravatar_id":"","url":"https://api.github.com/users/goldsmith","html_url":"https://github.com/goldsmith","followers_url":"https://api.github.com/users/goldsmith/followers","following_url":"https://api.github.com/users/goldsmith/following{/other_user}","gists_url":"https://api.github.com/users/goldsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/goldsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldsmith/subscriptions","organizations_url":"https://api.github.com/users/goldsmith/orgs","repos_url":"https://api.github.com/users/goldsmith/repos","events_url":"https://api.github.com/users/goldsmith/events{/privacy}","received_events_url":"https://api.github.com/users/goldsmith/received_events","type":"User","site_admin":false},"repo":{"id":12236329,"name":"Wikipedia","full_name":"goldsmith/Wikipedia","owner":{"login":"goldsmith","id":3344078,"avatar_url":"https://avatars.githubusercontent.com/u/3344078?v=3","gravatar_id":"","url":"https://api.github.com/users/goldsmith","html_url":"https://github.com/goldsmith","followers_url":"https://api.github.com/users/goldsmith/followers","following_url":"https://api.github.com/users/goldsmith/following{/other_user}","gists_url":"https://api.github.com/users/goldsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/goldsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goldsmith/subscriptions","organizations_url":"https://api.github.com/users/goldsmith/orgs","repos_url":"https://api.github.com/users/goldsmith/repos","events_url":"https://api.github.com/users/goldsmith/events{/privacy}","received_events_url":"https://api.github.com/users/goldsmith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/goldsmith/Wikipedia","description":"A Pythonic wrapper for the Wikipedia API","fork":false,"url":"https://api.github.com/repos/goldsmith/Wikipedia","forks_url":"https://api.github.com/repos/goldsmith/Wikipedia/forks","keys_url":"https://api.github.com/repos/goldsmith/Wikipedia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goldsmith/Wikipedia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goldsmith/Wikipedia/teams","hooks_url":"https://api.github.com/repos/goldsmith/Wikipedia/hooks","issue_events_url":"https://api.github.com/repos/goldsmith/Wikipedia/issues/events{/number}","events_url":"https://api.github.com/repos/goldsmith/Wikipedia/events","assignees_url":"https://api.github.com/repos/goldsmith/Wikipedia/assignees{/user}","branches_url":"https://api.github.com/repos/goldsmith/Wikipedia/branches{/branch}","tags_url":"https://api.github.com/repos/goldsmith/Wikipedia/tags","blobs_url":"https://api.github.com/repos/goldsmith/Wikipedia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goldsmith/Wikipedia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goldsmith/Wikipedia/git/refs{/sha}","trees_url":"https://api.github.com/repos/goldsmith/Wikipedia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goldsmith/Wikipedia/statuses/{sha}","languages_url":"https://api.github.com/repos/goldsmith/Wikipedia/languages","stargazers_url":"https://api.github.com/repos/goldsmith/Wikipedia/stargazers","contributors_url":"https://api.github.com/repos/goldsmith/Wikipedia/contributors","subscribers_url":"https://api.github.com/repos/goldsmith/Wikipedia/subscribers","subscription_url":"https://api.github.com/repos/goldsmith/Wikipedia/subscription","commits_url":"https://api.github.com/repos/goldsmith/Wikipedia/commits{/sha}","git_commits_url":"https://api.github.com/repos/goldsmith/Wikipedia/git/commits{/sha}","comments_url":"https://api.github.com/repos/goldsmith/Wikipedia/comments{/number}","issue_comment_url":"https://api.github.com/repos/goldsmith/Wikipedia/issues/comments{/number}","contents_url":"https://api.github.com/repos/goldsmith/Wikipedia/contents/{+path}","compare_url":"https://api.github.com/repos/goldsmith/Wikipedia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goldsmith/Wikipedia/merges","archive_url":"https://api.github.com/repos/goldsmith/Wikipedia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goldsmith/Wikipedia/downloads","issues_url":"https://api.github.com/repos/goldsmith/Wikipedia/issues{/number}","pulls_url":"https://api.github.com/repos/goldsmith/Wikipedia/pulls{/number}","milestones_url":"https://api.github.com/repos/goldsmith/Wikipedia/milestones{/number}","notifications_url":"https://api.github.com/repos/goldsmith/Wikipedia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goldsmith/Wikipedia/labels{/name}","releases_url":"https://api.github.com/repos/goldsmith/Wikipedia/releases{/id}","created_at":"2013-08-20T06:39:09Z","updated_at":"2015-06-16T11:50:37Z","pushed_at":"2015-05-13T22:54:37Z","git_url":"git://github.com/goldsmith/Wikipedia.git","ssh_url":"git@github.com:goldsmith/Wikipedia.git","clone_url":"https://github.com/goldsmith/Wikipedia.git","svn_url":"https://github.com/goldsmith/Wikipedia","homepage":"https://wikipedia.readthedocs.org/","size":1251,"stargazers_count":961,"watchers_count":961,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":163,"mirror_url":null,"open_issues_count":30,"forks":163,"open_issues":30,"watchers":961,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/goldsmith/Wikipedia/pulls/100"},"html":{"href":"https://github.com/goldsmith/Wikipedia/pull/100"},"issue":{"href":"https://api.github.com/repos/goldsmith/Wikipedia/issues/100"},"comments":{"href":"https://api.github.com/repos/goldsmith/Wikipedia/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/goldsmith/Wikipedia/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/goldsmith/Wikipedia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/goldsmith/Wikipedia/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/goldsmith/Wikipedia/statuses/25270e97fba4769f1b1d47277d9c4847a178d254"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":19,"deletions":0,"changed_files":1}}