{"action":"opened","number":40,"pull_request":{"url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/pulls/40","id":51088103,"html_url":"https://github.com/survivingwithandroid/WeatherLib/pull/40","diff_url":"https://github.com/survivingwithandroid/WeatherLib/pull/40.diff","patch_url":"https://github.com/survivingwithandroid/WeatherLib/pull/40.patch","issue_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/issues/40","number":40,"state":"open","locked":false,"title":"Fix NumberFormatException and refactor YahooWeatherProvider","user":{"login":"m-rm","id":7124804,"avatar_url":"https://avatars.githubusercontent.com/u/7124804?v=3","gravatar_id":"","url":"https://api.github.com/users/m-rm","html_url":"https://github.com/m-rm","followers_url":"https://api.github.com/users/m-rm/followers","following_url":"https://api.github.com/users/m-rm/following{/other_user}","gists_url":"https://api.github.com/users/m-rm/gists{/gist_id}","starred_url":"https://api.github.com/users/m-rm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-rm/subscriptions","organizations_url":"https://api.github.com/users/m-rm/orgs","repos_url":"https://api.github.com/users/m-rm/repos","events_url":"https://api.github.com/users/m-rm/events{/privacy}","received_events_url":"https://api.github.com/users/m-rm/received_events","type":"User","site_admin":false},"body":"Hi, basically each commit describes what has been done. I only want to describe \"Unify parsing of current weather and forecast\" a bit:\r\n\r\nParsing of current and forecast weather was done in similar ways, with a lot of redundant code in both methods. I created a single method to parse it and choose afterwards if current or forecast weather is needed. This has some nice side effects:\r\n* Units are now also parsed for the current weather\r\n* Location data is now available in forecast\r\n* Added latitude and longitude to location since data was available but not parsed yet","created_at":"2015-11-18T14:08:23Z","updated_at":"2015-11-18T14:08:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/pulls/40/commits","review_comments_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/pulls/40/comments","review_comment_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/issues/40/comments","statuses_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/statuses/4b6af178df808626053c03f46308f821dad3fc0c","head":{"label":"m-rm:master","ref":"master","sha":"4b6af178df808626053c03f46308f821dad3fc0c","user":{"login":"m-rm","id":7124804,"avatar_url":"https://avatars.githubusercontent.com/u/7124804?v=3","gravatar_id":"","url":"https://api.github.com/users/m-rm","html_url":"https://github.com/m-rm","followers_url":"https://api.github.com/users/m-rm/followers","following_url":"https://api.github.com/users/m-rm/following{/other_user}","gists_url":"https://api.github.com/users/m-rm/gists{/gist_id}","starred_url":"https://api.github.com/users/m-rm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-rm/subscriptions","organizations_url":"https://api.github.com/users/m-rm/orgs","repos_url":"https://api.github.com/users/m-rm/repos","events_url":"https://api.github.com/users/m-rm/events{/privacy}","received_events_url":"https://api.github.com/users/m-rm/received_events","type":"User","site_admin":false},"repo":{"id":43445022,"name":"WeatherLib","full_name":"m-rm/WeatherLib","owner":{"login":"m-rm","id":7124804,"avatar_url":"https://avatars.githubusercontent.com/u/7124804?v=3","gravatar_id":"","url":"https://api.github.com/users/m-rm","html_url":"https://github.com/m-rm","followers_url":"https://api.github.com/users/m-rm/followers","following_url":"https://api.github.com/users/m-rm/following{/other_user}","gists_url":"https://api.github.com/users/m-rm/gists{/gist_id}","starred_url":"https://api.github.com/users/m-rm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-rm/subscriptions","organizations_url":"https://api.github.com/users/m-rm/orgs","repos_url":"https://api.github.com/users/m-rm/repos","events_url":"https://api.github.com/users/m-rm/events{/privacy}","received_events_url":"https://api.github.com/users/m-rm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/m-rm/WeatherLib","description":"Android Weather Library: android weather lib to develop weather based app fast and easily","fork":true,"url":"https://api.github.com/repos/m-rm/WeatherLib","forks_url":"https://api.github.com/repos/m-rm/WeatherLib/forks","keys_url":"https://api.github.com/repos/m-rm/WeatherLib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m-rm/WeatherLib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m-rm/WeatherLib/teams","hooks_url":"https://api.github.com/repos/m-rm/WeatherLib/hooks","issue_events_url":"https://api.github.com/repos/m-rm/WeatherLib/issues/events{/number}","events_url":"https://api.github.com/repos/m-rm/WeatherLib/events","assignees_url":"https://api.github.com/repos/m-rm/WeatherLib/assignees{/user}","branches_url":"https://api.github.com/repos/m-rm/WeatherLib/branches{/branch}","tags_url":"https://api.github.com/repos/m-rm/WeatherLib/tags","blobs_url":"https://api.github.com/repos/m-rm/WeatherLib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m-rm/WeatherLib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m-rm/WeatherLib/git/refs{/sha}","trees_url":"https://api.github.com/repos/m-rm/WeatherLib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m-rm/WeatherLib/statuses/{sha}","languages_url":"https://api.github.com/repos/m-rm/WeatherLib/languages","stargazers_url":"https://api.github.com/repos/m-rm/WeatherLib/stargazers","contributors_url":"https://api.github.com/repos/m-rm/WeatherLib/contributors","subscribers_url":"https://api.github.com/repos/m-rm/WeatherLib/subscribers","subscription_url":"https://api.github.com/repos/m-rm/WeatherLib/subscription","commits_url":"https://api.github.com/repos/m-rm/WeatherLib/commits{/sha}","git_commits_url":"https://api.github.com/repos/m-rm/WeatherLib/git/commits{/sha}","comments_url":"https://api.github.com/repos/m-rm/WeatherLib/comments{/number}","issue_comment_url":"https://api.github.com/repos/m-rm/WeatherLib/issues/comments{/number}","contents_url":"https://api.github.com/repos/m-rm/WeatherLib/contents/{+path}","compare_url":"https://api.github.com/repos/m-rm/WeatherLib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m-rm/WeatherLib/merges","archive_url":"https://api.github.com/repos/m-rm/WeatherLib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m-rm/WeatherLib/downloads","issues_url":"https://api.github.com/repos/m-rm/WeatherLib/issues{/number}","pulls_url":"https://api.github.com/repos/m-rm/WeatherLib/pulls{/number}","milestones_url":"https://api.github.com/repos/m-rm/WeatherLib/milestones{/number}","notifications_url":"https://api.github.com/repos/m-rm/WeatherLib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m-rm/WeatherLib/labels{/name}","releases_url":"https://api.github.com/repos/m-rm/WeatherLib/releases{/id}","created_at":"2015-09-30T16:38:08Z","updated_at":"2015-09-30T16:38:10Z","pushed_at":"2015-11-18T13:53:33Z","git_url":"git://github.com/m-rm/WeatherLib.git","ssh_url":"git@github.com:m-rm/WeatherLib.git","clone_url":"https://github.com/m-rm/WeatherLib.git","svn_url":"https://github.com/m-rm/WeatherLib","homepage":"http://survivingwithandroid.github.io/WeatherLib/","size":29656,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"survivingwithandroid:master","ref":"master","sha":"e1373eed44fbe293aef224b182df83be43a71361","user":{"login":"survivingwithandroid","id":2233394,"avatar_url":"https://avatars.githubusercontent.com/u/2233394?v=3","gravatar_id":"","url":"https://api.github.com/users/survivingwithandroid","html_url":"https://github.com/survivingwithandroid","followers_url":"https://api.github.com/users/survivingwithandroid/followers","following_url":"https://api.github.com/users/survivingwithandroid/following{/other_user}","gists_url":"https://api.github.com/users/survivingwithandroid/gists{/gist_id}","starred_url":"https://api.github.com/users/survivingwithandroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/survivingwithandroid/subscriptions","organizations_url":"https://api.github.com/users/survivingwithandroid/orgs","repos_url":"https://api.github.com/users/survivingwithandroid/repos","events_url":"https://api.github.com/users/survivingwithandroid/events{/privacy}","received_events_url":"https://api.github.com/users/survivingwithandroid/received_events","type":"User","site_admin":false},"repo":{"id":18487251,"name":"WeatherLib","full_name":"survivingwithandroid/WeatherLib","owner":{"login":"survivingwithandroid","id":2233394,"avatar_url":"https://avatars.githubusercontent.com/u/2233394?v=3","gravatar_id":"","url":"https://api.github.com/users/survivingwithandroid","html_url":"https://github.com/survivingwithandroid","followers_url":"https://api.github.com/users/survivingwithandroid/followers","following_url":"https://api.github.com/users/survivingwithandroid/following{/other_user}","gists_url":"https://api.github.com/users/survivingwithandroid/gists{/gist_id}","starred_url":"https://api.github.com/users/survivingwithandroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/survivingwithandroid/subscriptions","organizations_url":"https://api.github.com/users/survivingwithandroid/orgs","repos_url":"https://api.github.com/users/survivingwithandroid/repos","events_url":"https://api.github.com/users/survivingwithandroid/events{/privacy}","received_events_url":"https://api.github.com/users/survivingwithandroid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/survivingwithandroid/WeatherLib","description":"Android Weather Library: android weather lib to develop weather based app fast and easily","fork":false,"url":"https://api.github.com/repos/survivingwithandroid/WeatherLib","forks_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/forks","keys_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/teams","hooks_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/hooks","issue_events_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/issues/events{/number}","events_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/events","assignees_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/assignees{/user}","branches_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/branches{/branch}","tags_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/tags","blobs_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/git/refs{/sha}","trees_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/statuses/{sha}","languages_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/languages","stargazers_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/stargazers","contributors_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/contributors","subscribers_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/subscribers","subscription_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/subscription","commits_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/commits{/sha}","git_commits_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/git/commits{/sha}","comments_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/comments{/number}","issue_comment_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/issues/comments{/number}","contents_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/contents/{+path}","compare_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/merges","archive_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/downloads","issues_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/issues{/number}","pulls_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/pulls{/number}","milestones_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/milestones{/number}","notifications_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/labels{/name}","releases_url":"https://api.github.com/repos/survivingwithandroid/WeatherLib/releases{/id}","created_at":"2014-04-06T10:32:49Z","updated_at":"2015-11-13T08:20:40Z","pushed_at":"2015-11-09T09:05:54Z","git_url":"git://github.com/survivingwithandroid/WeatherLib.git","ssh_url":"git@github.com:survivingwithandroid/WeatherLib.git","clone_url":"https://github.com/survivingwithandroid/WeatherLib.git","svn_url":"https://github.com/survivingwithandroid/WeatherLib","homepage":"http://survivingwithandroid.github.io/WeatherLib/","size":31483,"stargazers_count":527,"watchers_count":527,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":164,"mirror_url":null,"open_issues_count":14,"forks":164,"open_issues":14,"watchers":527,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/survivingwithandroid/WeatherLib/pulls/40"},"html":{"href":"https://github.com/survivingwithandroid/WeatherLib/pull/40"},"issue":{"href":"https://api.github.com/repos/survivingwithandroid/WeatherLib/issues/40"},"comments":{"href":"https://api.github.com/repos/survivingwithandroid/WeatherLib/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/survivingwithandroid/WeatherLib/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/survivingwithandroid/WeatherLib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/survivingwithandroid/WeatherLib/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/survivingwithandroid/WeatherLib/statuses/4b6af178df808626053c03f46308f821dad3fc0c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":119,"deletions":136,"changed_files":2}}