{"action":"closed","number":16,"pull_request":{"url":"https://api.github.com/repos/katiaeirin/dogeweather/pulls/16","id":11978916,"html_url":"https://github.com/katiaeirin/dogeweather/pull/16","diff_url":"https://github.com/katiaeirin/dogeweather/pull/16.diff","patch_url":"https://github.com/katiaeirin/dogeweather/pull/16.patch","issue_url":"https://api.github.com/repos/katiaeirin/dogeweather/issues/16","number":16,"state":"closed","locked":false,"title":"Automatic updates","user":{"login":"monban","id":487318,"avatar_url":"https://avatars.githubusercontent.com/u/487318?v=3","gravatar_id":"","url":"https://api.github.com/users/monban","html_url":"https://github.com/monban","followers_url":"https://api.github.com/users/monban/followers","following_url":"https://api.github.com/users/monban/following{/other_user}","gists_url":"https://api.github.com/users/monban/gists{/gist_id}","starred_url":"https://api.github.com/users/monban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monban/subscriptions","organizations_url":"https://api.github.com/users/monban/orgs","repos_url":"https://api.github.com/users/monban/repos","events_url":"https://api.github.com/users/monban/events{/privacy}","received_events_url":"https://api.github.com/users/monban/received_events","type":"User","site_admin":false},"body":"Wrapped the weather fetch code in a function called such_update. This function is called on document load and every five minutes thereafter. It is probably possible to make this more efficient, for example by not reloading the default background every time, but it's late and I need to sleep. Perhaps tomorrow, if nobody else gets to it first.\r\n\r\nShould resolve #7 ","created_at":"2014-01-29T05:18:34Z","updated_at":"2015-08-19T11:03:31Z","closed_at":"2015-08-19T11:03:31Z","merged_at":null,"merge_commit_sha":"12b235f104b6a776887d04ef81ccbff49c329cb4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/katiaeirin/dogeweather/pulls/16/commits","review_comments_url":"https://api.github.com/repos/katiaeirin/dogeweather/pulls/16/comments","review_comment_url":"https://api.github.com/repos/katiaeirin/dogeweather/pulls/comments{/number}","comments_url":"https://api.github.com/repos/katiaeirin/dogeweather/issues/16/comments","statuses_url":"https://api.github.com/repos/katiaeirin/dogeweather/statuses/1f073c158deb6041998263476ac7aca763151ca5","head":{"label":"monban:such_update","ref":"such_update","sha":"1f073c158deb6041998263476ac7aca763151ca5","user":{"login":"monban","id":487318,"avatar_url":"https://avatars.githubusercontent.com/u/487318?v=3","gravatar_id":"","url":"https://api.github.com/users/monban","html_url":"https://github.com/monban","followers_url":"https://api.github.com/users/monban/followers","following_url":"https://api.github.com/users/monban/following{/other_user}","gists_url":"https://api.github.com/users/monban/gists{/gist_id}","starred_url":"https://api.github.com/users/monban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monban/subscriptions","organizations_url":"https://api.github.com/users/monban/orgs","repos_url":"https://api.github.com/users/monban/repos","events_url":"https://api.github.com/users/monban/events{/privacy}","received_events_url":"https://api.github.com/users/monban/received_events","type":"User","site_admin":false},"repo":{"id":16333483,"name":"dogeweather","full_name":"monban/dogeweather","owner":{"login":"monban","id":487318,"avatar_url":"https://avatars.githubusercontent.com/u/487318?v=3","gravatar_id":"","url":"https://api.github.com/users/monban","html_url":"https://github.com/monban","followers_url":"https://api.github.com/users/monban/followers","following_url":"https://api.github.com/users/monban/following{/other_user}","gists_url":"https://api.github.com/users/monban/gists{/gist_id}","starred_url":"https://api.github.com/users/monban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monban/subscriptions","organizations_url":"https://api.github.com/users/monban/orgs","repos_url":"https://api.github.com/users/monban/repos","events_url":"https://api.github.com/users/monban/events{/privacy}","received_events_url":"https://api.github.com/users/monban/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monban/dogeweather","description":"Such Weather","fork":true,"url":"https://api.github.com/repos/monban/dogeweather","forks_url":"https://api.github.com/repos/monban/dogeweather/forks","keys_url":"https://api.github.com/repos/monban/dogeweather/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monban/dogeweather/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monban/dogeweather/teams","hooks_url":"https://api.github.com/repos/monban/dogeweather/hooks","issue_events_url":"https://api.github.com/repos/monban/dogeweather/issues/events{/number}","events_url":"https://api.github.com/repos/monban/dogeweather/events","assignees_url":"https://api.github.com/repos/monban/dogeweather/assignees{/user}","branches_url":"https://api.github.com/repos/monban/dogeweather/branches{/branch}","tags_url":"https://api.github.com/repos/monban/dogeweather/tags","blobs_url":"https://api.github.com/repos/monban/dogeweather/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monban/dogeweather/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monban/dogeweather/git/refs{/sha}","trees_url":"https://api.github.com/repos/monban/dogeweather/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monban/dogeweather/statuses/{sha}","languages_url":"https://api.github.com/repos/monban/dogeweather/languages","stargazers_url":"https://api.github.com/repos/monban/dogeweather/stargazers","contributors_url":"https://api.github.com/repos/monban/dogeweather/contributors","subscribers_url":"https://api.github.com/repos/monban/dogeweather/subscribers","subscription_url":"https://api.github.com/repos/monban/dogeweather/subscription","commits_url":"https://api.github.com/repos/monban/dogeweather/commits{/sha}","git_commits_url":"https://api.github.com/repos/monban/dogeweather/git/commits{/sha}","comments_url":"https://api.github.com/repos/monban/dogeweather/comments{/number}","issue_comment_url":"https://api.github.com/repos/monban/dogeweather/issues/comments{/number}","contents_url":"https://api.github.com/repos/monban/dogeweather/contents/{+path}","compare_url":"https://api.github.com/repos/monban/dogeweather/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monban/dogeweather/merges","archive_url":"https://api.github.com/repos/monban/dogeweather/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monban/dogeweather/downloads","issues_url":"https://api.github.com/repos/monban/dogeweather/issues{/number}","pulls_url":"https://api.github.com/repos/monban/dogeweather/pulls{/number}","milestones_url":"https://api.github.com/repos/monban/dogeweather/milestones{/number}","notifications_url":"https://api.github.com/repos/monban/dogeweather/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monban/dogeweather/labels{/name}","releases_url":"https://api.github.com/repos/monban/dogeweather/releases{/id}","created_at":"2014-01-29T02:42:38Z","updated_at":"2014-01-29T05:18:34Z","pushed_at":"2014-01-29T04:55:14Z","git_url":"git://github.com/monban/dogeweather.git","ssh_url":"git@github.com:monban/dogeweather.git","clone_url":"https://github.com/monban/dogeweather.git","svn_url":"https://github.com/monban/dogeweather","homepage":"http://dogeweather.com/","size":26886,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"katiaeirin:master","ref":"master","sha":"734ce466d040923afc68e6b62f0d1d121e1cd61c","user":{"login":"katiaeirin","id":5269539,"avatar_url":"https://avatars.githubusercontent.com/u/5269539?v=3","gravatar_id":"","url":"https://api.github.com/users/katiaeirin","html_url":"https://github.com/katiaeirin","followers_url":"https://api.github.com/users/katiaeirin/followers","following_url":"https://api.github.com/users/katiaeirin/following{/other_user}","gists_url":"https://api.github.com/users/katiaeirin/gists{/gist_id}","starred_url":"https://api.github.com/users/katiaeirin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katiaeirin/subscriptions","organizations_url":"https://api.github.com/users/katiaeirin/orgs","repos_url":"https://api.github.com/users/katiaeirin/repos","events_url":"https://api.github.com/users/katiaeirin/events{/privacy}","received_events_url":"https://api.github.com/users/katiaeirin/received_events","type":"User","site_admin":false},"repo":{"id":16191394,"name":"dogeweather","full_name":"katiaeirin/dogeweather","owner":{"login":"katiaeirin","id":5269539,"avatar_url":"https://avatars.githubusercontent.com/u/5269539?v=3","gravatar_id":"","url":"https://api.github.com/users/katiaeirin","html_url":"https://github.com/katiaeirin","followers_url":"https://api.github.com/users/katiaeirin/followers","following_url":"https://api.github.com/users/katiaeirin/following{/other_user}","gists_url":"https://api.github.com/users/katiaeirin/gists{/gist_id}","starred_url":"https://api.github.com/users/katiaeirin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katiaeirin/subscriptions","organizations_url":"https://api.github.com/users/katiaeirin/orgs","repos_url":"https://api.github.com/users/katiaeirin/repos","events_url":"https://api.github.com/users/katiaeirin/events{/privacy}","received_events_url":"https://api.github.com/users/katiaeirin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/katiaeirin/dogeweather","description":"Such Weather","fork":false,"url":"https://api.github.com/repos/katiaeirin/dogeweather","forks_url":"https://api.github.com/repos/katiaeirin/dogeweather/forks","keys_url":"https://api.github.com/repos/katiaeirin/dogeweather/keys{/key_id}","collaborators_url":"https://api.github.com/repos/katiaeirin/dogeweather/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/katiaeirin/dogeweather/teams","hooks_url":"https://api.github.com/repos/katiaeirin/dogeweather/hooks","issue_events_url":"https://api.github.com/repos/katiaeirin/dogeweather/issues/events{/number}","events_url":"https://api.github.com/repos/katiaeirin/dogeweather/events","assignees_url":"https://api.github.com/repos/katiaeirin/dogeweather/assignees{/user}","branches_url":"https://api.github.com/repos/katiaeirin/dogeweather/branches{/branch}","tags_url":"https://api.github.com/repos/katiaeirin/dogeweather/tags","blobs_url":"https://api.github.com/repos/katiaeirin/dogeweather/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/katiaeirin/dogeweather/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/katiaeirin/dogeweather/git/refs{/sha}","trees_url":"https://api.github.com/repos/katiaeirin/dogeweather/git/trees{/sha}","statuses_url":"https://api.github.com/repos/katiaeirin/dogeweather/statuses/{sha}","languages_url":"https://api.github.com/repos/katiaeirin/dogeweather/languages","stargazers_url":"https://api.github.com/repos/katiaeirin/dogeweather/stargazers","contributors_url":"https://api.github.com/repos/katiaeirin/dogeweather/contributors","subscribers_url":"https://api.github.com/repos/katiaeirin/dogeweather/subscribers","subscription_url":"https://api.github.com/repos/katiaeirin/dogeweather/subscription","commits_url":"https://api.github.com/repos/katiaeirin/dogeweather/commits{/sha}","git_commits_url":"https://api.github.com/repos/katiaeirin/dogeweather/git/commits{/sha}","comments_url":"https://api.github.com/repos/katiaeirin/dogeweather/comments{/number}","issue_comment_url":"https://api.github.com/repos/katiaeirin/dogeweather/issues/comments{/number}","contents_url":"https://api.github.com/repos/katiaeirin/dogeweather/contents/{+path}","compare_url":"https://api.github.com/repos/katiaeirin/dogeweather/compare/{base}...{head}","merges_url":"https://api.github.com/repos/katiaeirin/dogeweather/merges","archive_url":"https://api.github.com/repos/katiaeirin/dogeweather/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/katiaeirin/dogeweather/downloads","issues_url":"https://api.github.com/repos/katiaeirin/dogeweather/issues{/number}","pulls_url":"https://api.github.com/repos/katiaeirin/dogeweather/pulls{/number}","milestones_url":"https://api.github.com/repos/katiaeirin/dogeweather/milestones{/number}","notifications_url":"https://api.github.com/repos/katiaeirin/dogeweather/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/katiaeirin/dogeweather/labels{/name}","releases_url":"https://api.github.com/repos/katiaeirin/dogeweather/releases{/id}","created_at":"2014-01-24T01:19:22Z","updated_at":"2015-08-17T16:56:00Z","pushed_at":"2014-02-10T05:27:04Z","git_url":"git://github.com/katiaeirin/dogeweather.git","ssh_url":"git@github.com:katiaeirin/dogeweather.git","clone_url":"https://github.com/katiaeirin/dogeweather.git","svn_url":"https://github.com/katiaeirin/dogeweather","homepage":"http://dogeweather.com/","size":27387,"stargazers_count":448,"watchers_count":448,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":22,"forks":91,"open_issues":22,"watchers":448,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/katiaeirin/dogeweather/pulls/16"},"html":{"href":"https://github.com/katiaeirin/dogeweather/pull/16"},"issue":{"href":"https://api.github.com/repos/katiaeirin/dogeweather/issues/16"},"comments":{"href":"https://api.github.com/repos/katiaeirin/dogeweather/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/katiaeirin/dogeweather/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/katiaeirin/dogeweather/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/katiaeirin/dogeweather/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/katiaeirin/dogeweather/statuses/1f073c158deb6041998263476ac7aca763151ca5"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":4,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}