{"action":"created","comment":{"url":"https://api.github.com/repos/voveus/weather-app/pulls/comments/166221038","pull_request_review_id":94261310,"id":166221038,"diff_hunk":"@@ -0,0 +1,34 @@\n+const API_KEY = '02fd99f29107456e914006fff00a5b9c'; // Weatherbit API key\n+\n+//for current weather\n+const urlCurrent = (city = 'Kiev') =>\n+  `https://api.weatherbit.io/v2.0/current?city=${city}&key=${API_KEY}`;\n+\n+//for 3 hourly on 5 days","path":"services/api.js","position":7,"original_position":7,"commit_id":"2e539bc855d505a3e6c8002c7fd188e12b32b8c4","original_commit_id":"2e539bc855d505a3e6c8002c7fd188e12b32b8c4","user":{"login":"viktor-yakubiv","id":8440244,"avatar_url":"https://avatars3.githubusercontent.com/u/8440244?v=4","gravatar_id":"","url":"https://api.github.com/users/viktor-yakubiv","html_url":"https://github.com/viktor-yakubiv","followers_url":"https://api.github.com/users/viktor-yakubiv/followers","following_url":"https://api.github.com/users/viktor-yakubiv/following{/other_user}","gists_url":"https://api.github.com/users/viktor-yakubiv/gists{/gist_id}","starred_url":"https://api.github.com/users/viktor-yakubiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viktor-yakubiv/subscriptions","organizations_url":"https://api.github.com/users/viktor-yakubiv/orgs","repos_url":"https://api.github.com/users/viktor-yakubiv/repos","events_url":"https://api.github.com/users/viktor-yakubiv/events{/privacy}","received_events_url":"https://api.github.com/users/viktor-yakubiv/received_events","type":"User","site_admin":false},"body":"I can read it in the line below. I hope you too.","created_at":"2018-02-06T08:48:46Z","updated_at":"2018-02-06T08:49:46Z","html_url":"https://github.com/voveus/weather-app/pull/8#discussion_r166221038","pull_request_url":"https://api.github.com/repos/voveus/weather-app/pulls/8","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/voveus/weather-app/pulls/comments/166221038"},"html":{"href":"https://github.com/voveus/weather-app/pull/8#discussion_r166221038"},"pull_request":{"href":"https://api.github.com/repos/voveus/weather-app/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/voveus/weather-app/pulls/8","id":167282436,"html_url":"https://github.com/voveus/weather-app/pull/8","diff_url":"https://github.com/voveus/weather-app/pull/8.diff","patch_url":"https://github.com/voveus/weather-app/pull/8.patch","issue_url":"https://api.github.com/repos/voveus/weather-app/issues/8","number":8,"state":"open","locked":false,"title":"Add functions to fetch data from weatherbit.io api","user":{"login":"LiliVia","id":25428023,"avatar_url":"https://avatars3.githubusercontent.com/u/25428023?v=4","gravatar_id":"","url":"https://api.github.com/users/LiliVia","html_url":"https://github.com/LiliVia","followers_url":"https://api.github.com/users/LiliVia/followers","following_url":"https://api.github.com/users/LiliVia/following{/other_user}","gists_url":"https://api.github.com/users/LiliVia/gists{/gist_id}","starred_url":"https://api.github.com/users/LiliVia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiliVia/subscriptions","organizations_url":"https://api.github.com/users/LiliVia/orgs","repos_url":"https://api.github.com/users/LiliVia/repos","events_url":"https://api.github.com/users/LiliVia/events{/privacy}","received_events_url":"https://api.github.com/users/LiliVia/received_events","type":"User","site_admin":false},"body":"Could I start by easier way by functions? :)","created_at":"2018-02-05T23:27:06Z","updated_at":"2018-02-06T08:49:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c740f3c598863a7a40219393d5604a22d93edc2b","assignee":{"login":"voveus","id":10214017,"avatar_url":"https://avatars2.githubusercontent.com/u/10214017?v=4","gravatar_id":"","url":"https://api.github.com/users/voveus","html_url":"https://github.com/voveus","followers_url":"https://api.github.com/users/voveus/followers","following_url":"https://api.github.com/users/voveus/following{/other_user}","gists_url":"https://api.github.com/users/voveus/gists{/gist_id}","starred_url":"https://api.github.com/users/voveus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voveus/subscriptions","organizations_url":"https://api.github.com/users/voveus/orgs","repos_url":"https://api.github.com/users/voveus/repos","events_url":"https://api.github.com/users/voveus/events{/privacy}","received_events_url":"https://api.github.com/users/voveus/received_events","type":"User","site_admin":false},"assignees":[{"login":"voveus","id":10214017,"avatar_url":"https://avatars2.githubusercontent.com/u/10214017?v=4","gravatar_id":"","url":"https://api.github.com/users/voveus","html_url":"https://github.com/voveus","followers_url":"https://api.github.com/users/voveus/followers","following_url":"https://api.github.com/users/voveus/following{/other_user}","gists_url":"https://api.github.com/users/voveus/gists{/gist_id}","starred_url":"https://api.github.com/users/voveus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voveus/subscriptions","organizations_url":"https://api.github.com/users/voveus/orgs","repos_url":"https://api.github.com/users/voveus/repos","events_url":"https://api.github.com/users/voveus/events{/privacy}","received_events_url":"https://api.github.com/users/voveus/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/voveus/weather-app/pulls/8/commits","review_comments_url":"https://api.github.com/repos/voveus/weather-app/pulls/8/comments","review_comment_url":"https://api.github.com/repos/voveus/weather-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/voveus/weather-app/issues/8/comments","statuses_url":"https://api.github.com/repos/voveus/weather-app/statuses/2e539bc855d505a3e6c8002c7fd188e12b32b8c4","head":{"label":"voveus:api-service","ref":"api-service","sha":"2e539bc855d505a3e6c8002c7fd188e12b32b8c4","user":{"login":"voveus","id":10214017,"avatar_url":"https://avatars2.githubusercontent.com/u/10214017?v=4","gravatar_id":"","url":"https://api.github.com/users/voveus","html_url":"https://github.com/voveus","followers_url":"https://api.github.com/users/voveus/followers","following_url":"https://api.github.com/users/voveus/following{/other_user}","gists_url":"https://api.github.com/users/voveus/gists{/gist_id}","starred_url":"https://api.github.com/users/voveus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voveus/subscriptions","organizations_url":"https://api.github.com/users/voveus/orgs","repos_url":"https://api.github.com/users/voveus/repos","events_url":"https://api.github.com/users/voveus/events{/privacy}","received_events_url":"https://api.github.com/users/voveus/received_events","type":"User","site_admin":false},"repo":{"id":120180730,"name":"weather-app","full_name":"voveus/weather-app","owner":{"login":"voveus","id":10214017,"avatar_url":"https://avatars2.githubusercontent.com/u/10214017?v=4","gravatar_id":"","url":"https://api.github.com/users/voveus","html_url":"https://github.com/voveus","followers_url":"https://api.github.com/users/voveus/followers","following_url":"https://api.github.com/users/voveus/following{/other_user}","gists_url":"https://api.github.com/users/voveus/gists{/gist_id}","starred_url":"https://api.github.com/users/voveus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voveus/subscriptions","organizations_url":"https://api.github.com/users/voveus/orgs","repos_url":"https://api.github.com/users/voveus/repos","events_url":"https://api.github.com/users/voveus/events{/privacy}","received_events_url":"https://api.github.com/users/voveus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/voveus/weather-app","description":null,"fork":false,"url":"https://api.github.com/repos/voveus/weather-app","forks_url":"https://api.github.com/repos/voveus/weather-app/forks","keys_url":"https://api.github.com/repos/voveus/weather-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voveus/weather-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voveus/weather-app/teams","hooks_url":"https://api.github.com/repos/voveus/weather-app/hooks","issue_events_url":"https://api.github.com/repos/voveus/weather-app/issues/events{/number}","events_url":"https://api.github.com/repos/voveus/weather-app/events","assignees_url":"https://api.github.com/repos/voveus/weather-app/assignees{/user}","branches_url":"https://api.github.com/repos/voveus/weather-app/branches{/branch}","tags_url":"https://api.github.com/repos/voveus/weather-app/tags","blobs_url":"https://api.github.com/repos/voveus/weather-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voveus/weather-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voveus/weather-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/voveus/weather-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voveus/weather-app/statuses/{sha}","languages_url":"https://api.github.com/repos/voveus/weather-app/languages","stargazers_url":"https://api.github.com/repos/voveus/weather-app/stargazers","contributors_url":"https://api.github.com/repos/voveus/weather-app/contributors","subscribers_url":"https://api.github.com/repos/voveus/weather-app/subscribers","subscription_url":"https://api.github.com/repos/voveus/weather-app/subscription","commits_url":"https://api.github.com/repos/voveus/weather-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/voveus/weather-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/voveus/weather-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/voveus/weather-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/voveus/weather-app/contents/{+path}","compare_url":"https://api.github.com/repos/voveus/weather-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voveus/weather-app/merges","archive_url":"https://api.github.com/repos/voveus/weather-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voveus/weather-app/downloads","issues_url":"https://api.github.com/repos/voveus/weather-app/issues{/number}","pulls_url":"https://api.github.com/repos/voveus/weather-app/pulls{/number}","milestones_url":"https://api.github.com/repos/voveus/weather-app/milestones{/number}","notifications_url":"https://api.github.com/repos/voveus/weather-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voveus/weather-app/labels{/name}","releases_url":"https://api.github.com/repos/voveus/weather-app/releases{/id}","deployments_url":"https://api.github.com/repos/voveus/weather-app/deployments","created_at":"2018-02-04T11:56:16Z","updated_at":"2018-02-04T11:56:16Z","pushed_at":"2018-02-05T23:27:06Z","git_url":"git://github.com/voveus/weather-app.git","ssh_url":"git@github.com:voveus/weather-app.git","clone_url":"https://github.com/voveus/weather-app.git","svn_url":"https://github.com/voveus/weather-app","homepage":null,"size":17,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"voveus:master","ref":"master","sha":"8efd3d4c227f63105d3b10028f4f18074a65a8f4","user":{"login":"voveus","id":10214017,"avatar_url":"https://avatars2.githubusercontent.com/u/10214017?v=4","gravatar_id":"","url":"https://api.github.com/users/voveus","html_url":"https://github.com/voveus","followers_url":"https://api.github.com/users/voveus/followers","following_url":"https://api.github.com/users/voveus/following{/other_user}","gists_url":"https://api.github.com/users/voveus/gists{/gist_id}","starred_url":"https://api.github.com/users/voveus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voveus/subscriptions","organizations_url":"https://api.github.com/users/voveus/orgs","repos_url":"https://api.github.com/users/voveus/repos","events_url":"https://api.github.com/users/voveus/events{/privacy}","received_events_url":"https://api.github.com/users/voveus/received_events","type":"User","site_admin":false},"repo":{"id":120180730,"name":"weather-app","full_name":"voveus/weather-app","owner":{"login":"voveus","id":10214017,"avatar_url":"https://avatars2.githubusercontent.com/u/10214017?v=4","gravatar_id":"","url":"https://api.github.com/users/voveus","html_url":"https://github.com/voveus","followers_url":"https://api.github.com/users/voveus/followers","following_url":"https://api.github.com/users/voveus/following{/other_user}","gists_url":"https://api.github.com/users/voveus/gists{/gist_id}","starred_url":"https://api.github.com/users/voveus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voveus/subscriptions","organizations_url":"https://api.github.com/users/voveus/orgs","repos_url":"https://api.github.com/users/voveus/repos","events_url":"https://api.github.com/users/voveus/events{/privacy}","received_events_url":"https://api.github.com/users/voveus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/voveus/weather-app","description":null,"fork":false,"url":"https://api.github.com/repos/voveus/weather-app","forks_url":"https://api.github.com/repos/voveus/weather-app/forks","keys_url":"https://api.github.com/repos/voveus/weather-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voveus/weather-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voveus/weather-app/teams","hooks_url":"https://api.github.com/repos/voveus/weather-app/hooks","issue_events_url":"https://api.github.com/repos/voveus/weather-app/issues/events{/number}","events_url":"https://api.github.com/repos/voveus/weather-app/events","assignees_url":"https://api.github.com/repos/voveus/weather-app/assignees{/user}","branches_url":"https://api.github.com/repos/voveus/weather-app/branches{/branch}","tags_url":"https://api.github.com/repos/voveus/weather-app/tags","blobs_url":"https://api.github.com/repos/voveus/weather-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voveus/weather-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voveus/weather-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/voveus/weather-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voveus/weather-app/statuses/{sha}","languages_url":"https://api.github.com/repos/voveus/weather-app/languages","stargazers_url":"https://api.github.com/repos/voveus/weather-app/stargazers","contributors_url":"https://api.github.com/repos/voveus/weather-app/contributors","subscribers_url":"https://api.github.com/repos/voveus/weather-app/subscribers","subscription_url":"https://api.github.com/repos/voveus/weather-app/subscription","commits_url":"https://api.github.com/repos/voveus/weather-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/voveus/weather-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/voveus/weather-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/voveus/weather-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/voveus/weather-app/contents/{+path}","compare_url":"https://api.github.com/repos/voveus/weather-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voveus/weather-app/merges","archive_url":"https://api.github.com/repos/voveus/weather-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voveus/weather-app/downloads","issues_url":"https://api.github.com/repos/voveus/weather-app/issues{/number}","pulls_url":"https://api.github.com/repos/voveus/weather-app/pulls{/number}","milestones_url":"https://api.github.com/repos/voveus/weather-app/milestones{/number}","notifications_url":"https://api.github.com/repos/voveus/weather-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voveus/weather-app/labels{/name}","releases_url":"https://api.github.com/repos/voveus/weather-app/releases{/id}","deployments_url":"https://api.github.com/repos/voveus/weather-app/deployments","created_at":"2018-02-04T11:56:16Z","updated_at":"2018-02-04T11:56:16Z","pushed_at":"2018-02-05T23:27:06Z","git_url":"git://github.com/voveus/weather-app.git","ssh_url":"git@github.com:voveus/weather-app.git","clone_url":"https://github.com/voveus/weather-app.git","svn_url":"https://github.com/voveus/weather-app","homepage":null,"size":17,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/voveus/weather-app/pulls/8"},"html":{"href":"https://github.com/voveus/weather-app/pull/8"},"issue":{"href":"https://api.github.com/repos/voveus/weather-app/issues/8"},"comments":{"href":"https://api.github.com/repos/voveus/weather-app/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/voveus/weather-app/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/voveus/weather-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/voveus/weather-app/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/voveus/weather-app/statuses/2e539bc855d505a3e6c8002c7fd188e12b32b8c4"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"viktor-yakubiv"}}