{"action":"created","comment":{"url":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls/comments/48089559","id":48089559,"diff_hunk":"@@ -0,0 +1,36 @@\n+<!DOCTYPE html>\n+<html lang=\"ja\">\n+<head>\n+  <meta charset=\"UTF-8\">\n+  <title>flickrAPIサンプル</title>\n+  <script type=\"text/javascript\" src=\"https://code.jquery.com/jquery-2.1.4.min.js\"></script>\n+  <script type=\"text/javascript\">\n+  $(document).ready(function(){\n+    $('#searchBtn').click(function(){\n+      var searchWord = $(':text[name=\"searchWord\"]').val();\n+      $.ajax({\n+        type: 'GET',\n+        url: 'https://api.flickr.com/services/rest/?method=flickr.photos.search&tags=' + searchWord + '&format=json&api_key=8c950f642c6187b62605679f443a5505',\n+        dataType: 'jsonp',\n+        jsonpCallback: 'jsonFlickrApi',\n+        success: function(jsonp){\n+\n+          $('#photos').empty();\n+          var photos = jsonp.photos.photo;\n+          photos.slice(1, 10).forEach(photo => {\n+            var img = $('<img>').attr('src', 'http://static.flickr.com/' + photo.server + '/' + photo.id + '_' + photo.secret + '_s.jpg');\n+            $(\"#photos\").append(img);\n+          });\n+        }\n+      });\n+    });\n+  });\n+  </script>\n+</head>\n+<body>\n+  <input type=\"text\" name=\"searchWord\" id=\"searchWord\" value=\"\">","path":"flickr/index.html","position":31,"original_position":31,"commit_id":"4b45039859aff2bef3750a09fb27e885de2c461a","original_commit_id":"4b45039859aff2bef3750a09fb27e885de2c461a","user":{"login":"kyakumoto-ez","id":813772,"avatar_url":"https://avatars.githubusercontent.com/u/813772?v=3","gravatar_id":"","url":"https://api.github.com/users/kyakumoto-ez","html_url":"https://github.com/kyakumoto-ez","followers_url":"https://api.github.com/users/kyakumoto-ez/followers","following_url":"https://api.github.com/users/kyakumoto-ez/following{/other_user}","gists_url":"https://api.github.com/users/kyakumoto-ez/gists{/gist_id}","starred_url":"https://api.github.com/users/kyakumoto-ez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyakumoto-ez/subscriptions","organizations_url":"https://api.github.com/users/kyakumoto-ez/orgs","repos_url":"https://api.github.com/users/kyakumoto-ez/repos","events_url":"https://api.github.com/users/kyakumoto-ez/events{/privacy}","received_events_url":"https://api.github.com/users/kyakumoto-ez/received_events","type":"User","site_admin":false},"body":"##### 31行目\r\nJSで使用するIDとかの場合は、 `js-` とかってprefixを打つと、チーム開発の際にわかりやすくなります。","created_at":"2015-12-19T06:36:05Z","updated_at":"2015-12-19T06:36:05Z","html_url":"https://github.com/Naventus/BeenosInternShip/pull/2#discussion_r48089559","pull_request_url":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls/comments/48089559"},"html":{"href":"https://github.com/Naventus/BeenosInternShip/pull/2#discussion_r48089559"},"pull_request":{"href":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls/2","id":54170350,"html_url":"https://github.com/Naventus/BeenosInternShip/pull/2","diff_url":"https://github.com/Naventus/BeenosInternShip/pull/2.diff","patch_url":"https://github.com/Naventus/BeenosInternShip/pull/2.patch","issue_url":"https://api.github.com/repos/Naventus/BeenosInternShip/issues/2","number":2,"state":"open","locked":false,"title":"[WIP]flickrAPIを使ってJSONデータの取得","user":{"login":"Naventus","id":10525101,"avatar_url":"https://avatars.githubusercontent.com/u/10525101?v=3","gravatar_id":"","url":"https://api.github.com/users/Naventus","html_url":"https://github.com/Naventus","followers_url":"https://api.github.com/users/Naventus/followers","following_url":"https://api.github.com/users/Naventus/following{/other_user}","gists_url":"https://api.github.com/users/Naventus/gists{/gist_id}","starred_url":"https://api.github.com/users/Naventus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naventus/subscriptions","organizations_url":"https://api.github.com/users/Naventus/orgs","repos_url":"https://api.github.com/users/Naventus/repos","events_url":"https://api.github.com/users/Naventus/events{/privacy}","received_events_url":"https://api.github.com/users/Naventus/received_events","type":"User","site_admin":false},"body":"- [x] htmlの雛形作成\r\n- [x] CDN設定しjQuery呼び出し\r\n- [x] api呼び出しの実装\r\n- [x] 画像表示\r\n- [x] タグ検索の実装","created_at":"2015-12-19T03:41:23Z","updated_at":"2015-12-19T06:36:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7dec02bbe690dab1b258eb07f03740d0b0d37806","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Naventus/BeenosInternShip/issues/2/comments","statuses_url":"https://api.github.com/repos/Naventus/BeenosInternShip/statuses/4b45039859aff2bef3750a09fb27e885de2c461a","head":{"label":"Naventus:flickr_api","ref":"flickr_api","sha":"4b45039859aff2bef3750a09fb27e885de2c461a","user":{"login":"Naventus","id":10525101,"avatar_url":"https://avatars.githubusercontent.com/u/10525101?v=3","gravatar_id":"","url":"https://api.github.com/users/Naventus","html_url":"https://github.com/Naventus","followers_url":"https://api.github.com/users/Naventus/followers","following_url":"https://api.github.com/users/Naventus/following{/other_user}","gists_url":"https://api.github.com/users/Naventus/gists{/gist_id}","starred_url":"https://api.github.com/users/Naventus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naventus/subscriptions","organizations_url":"https://api.github.com/users/Naventus/orgs","repos_url":"https://api.github.com/users/Naventus/repos","events_url":"https://api.github.com/users/Naventus/events{/privacy}","received_events_url":"https://api.github.com/users/Naventus/received_events","type":"User","site_admin":false},"repo":{"id":48266190,"name":"BeenosInternShip","full_name":"Naventus/BeenosInternShip","owner":{"login":"Naventus","id":10525101,"avatar_url":"https://avatars.githubusercontent.com/u/10525101?v=3","gravatar_id":"","url":"https://api.github.com/users/Naventus","html_url":"https://github.com/Naventus","followers_url":"https://api.github.com/users/Naventus/followers","following_url":"https://api.github.com/users/Naventus/following{/other_user}","gists_url":"https://api.github.com/users/Naventus/gists{/gist_id}","starred_url":"https://api.github.com/users/Naventus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naventus/subscriptions","organizations_url":"https://api.github.com/users/Naventus/orgs","repos_url":"https://api.github.com/users/Naventus/repos","events_url":"https://api.github.com/users/Naventus/events{/privacy}","received_events_url":"https://api.github.com/users/Naventus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Naventus/BeenosInternShip","description":"","fork":false,"url":"https://api.github.com/repos/Naventus/BeenosInternShip","forks_url":"https://api.github.com/repos/Naventus/BeenosInternShip/forks","keys_url":"https://api.github.com/repos/Naventus/BeenosInternShip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Naventus/BeenosInternShip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Naventus/BeenosInternShip/teams","hooks_url":"https://api.github.com/repos/Naventus/BeenosInternShip/hooks","issue_events_url":"https://api.github.com/repos/Naventus/BeenosInternShip/issues/events{/number}","events_url":"https://api.github.com/repos/Naventus/BeenosInternShip/events","assignees_url":"https://api.github.com/repos/Naventus/BeenosInternShip/assignees{/user}","branches_url":"https://api.github.com/repos/Naventus/BeenosInternShip/branches{/branch}","tags_url":"https://api.github.com/repos/Naventus/BeenosInternShip/tags","blobs_url":"https://api.github.com/repos/Naventus/BeenosInternShip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Naventus/BeenosInternShip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Naventus/BeenosInternShip/git/refs{/sha}","trees_url":"https://api.github.com/repos/Naventus/BeenosInternShip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Naventus/BeenosInternShip/statuses/{sha}","languages_url":"https://api.github.com/repos/Naventus/BeenosInternShip/languages","stargazers_url":"https://api.github.com/repos/Naventus/BeenosInternShip/stargazers","contributors_url":"https://api.github.com/repos/Naventus/BeenosInternShip/contributors","subscribers_url":"https://api.github.com/repos/Naventus/BeenosInternShip/subscribers","subscription_url":"https://api.github.com/repos/Naventus/BeenosInternShip/subscription","commits_url":"https://api.github.com/repos/Naventus/BeenosInternShip/commits{/sha}","git_commits_url":"https://api.github.com/repos/Naventus/BeenosInternShip/git/commits{/sha}","comments_url":"https://api.github.com/repos/Naventus/BeenosInternShip/comments{/number}","issue_comment_url":"https://api.github.com/repos/Naventus/BeenosInternShip/issues/comments{/number}","contents_url":"https://api.github.com/repos/Naventus/BeenosInternShip/contents/{+path}","compare_url":"https://api.github.com/repos/Naventus/BeenosInternShip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Naventus/BeenosInternShip/merges","archive_url":"https://api.github.com/repos/Naventus/BeenosInternShip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Naventus/BeenosInternShip/downloads","issues_url":"https://api.github.com/repos/Naventus/BeenosInternShip/issues{/number}","pulls_url":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls{/number}","milestones_url":"https://api.github.com/repos/Naventus/BeenosInternShip/milestones{/number}","notifications_url":"https://api.github.com/repos/Naventus/BeenosInternShip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Naventus/BeenosInternShip/labels{/name}","releases_url":"https://api.github.com/repos/Naventus/BeenosInternShip/releases{/id}","created_at":"2015-12-19T02:56:03Z","updated_at":"2015-12-19T03:30:03Z","pushed_at":"2015-12-19T06:34:47Z","git_url":"git://github.com/Naventus/BeenosInternShip.git","ssh_url":"git@github.com:Naventus/BeenosInternShip.git","clone_url":"https://github.com/Naventus/BeenosInternShip.git","svn_url":"https://github.com/Naventus/BeenosInternShip","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Naventus:master","ref":"master","sha":"59031e2277bd3aa6c19015346008421d2aabbfc3","user":{"login":"Naventus","id":10525101,"avatar_url":"https://avatars.githubusercontent.com/u/10525101?v=3","gravatar_id":"","url":"https://api.github.com/users/Naventus","html_url":"https://github.com/Naventus","followers_url":"https://api.github.com/users/Naventus/followers","following_url":"https://api.github.com/users/Naventus/following{/other_user}","gists_url":"https://api.github.com/users/Naventus/gists{/gist_id}","starred_url":"https://api.github.com/users/Naventus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naventus/subscriptions","organizations_url":"https://api.github.com/users/Naventus/orgs","repos_url":"https://api.github.com/users/Naventus/repos","events_url":"https://api.github.com/users/Naventus/events{/privacy}","received_events_url":"https://api.github.com/users/Naventus/received_events","type":"User","site_admin":false},"repo":{"id":48266190,"name":"BeenosInternShip","full_name":"Naventus/BeenosInternShip","owner":{"login":"Naventus","id":10525101,"avatar_url":"https://avatars.githubusercontent.com/u/10525101?v=3","gravatar_id":"","url":"https://api.github.com/users/Naventus","html_url":"https://github.com/Naventus","followers_url":"https://api.github.com/users/Naventus/followers","following_url":"https://api.github.com/users/Naventus/following{/other_user}","gists_url":"https://api.github.com/users/Naventus/gists{/gist_id}","starred_url":"https://api.github.com/users/Naventus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Naventus/subscriptions","organizations_url":"https://api.github.com/users/Naventus/orgs","repos_url":"https://api.github.com/users/Naventus/repos","events_url":"https://api.github.com/users/Naventus/events{/privacy}","received_events_url":"https://api.github.com/users/Naventus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Naventus/BeenosInternShip","description":"","fork":false,"url":"https://api.github.com/repos/Naventus/BeenosInternShip","forks_url":"https://api.github.com/repos/Naventus/BeenosInternShip/forks","keys_url":"https://api.github.com/repos/Naventus/BeenosInternShip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Naventus/BeenosInternShip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Naventus/BeenosInternShip/teams","hooks_url":"https://api.github.com/repos/Naventus/BeenosInternShip/hooks","issue_events_url":"https://api.github.com/repos/Naventus/BeenosInternShip/issues/events{/number}","events_url":"https://api.github.com/repos/Naventus/BeenosInternShip/events","assignees_url":"https://api.github.com/repos/Naventus/BeenosInternShip/assignees{/user}","branches_url":"https://api.github.com/repos/Naventus/BeenosInternShip/branches{/branch}","tags_url":"https://api.github.com/repos/Naventus/BeenosInternShip/tags","blobs_url":"https://api.github.com/repos/Naventus/BeenosInternShip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Naventus/BeenosInternShip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Naventus/BeenosInternShip/git/refs{/sha}","trees_url":"https://api.github.com/repos/Naventus/BeenosInternShip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Naventus/BeenosInternShip/statuses/{sha}","languages_url":"https://api.github.com/repos/Naventus/BeenosInternShip/languages","stargazers_url":"https://api.github.com/repos/Naventus/BeenosInternShip/stargazers","contributors_url":"https://api.github.com/repos/Naventus/BeenosInternShip/contributors","subscribers_url":"https://api.github.com/repos/Naventus/BeenosInternShip/subscribers","subscription_url":"https://api.github.com/repos/Naventus/BeenosInternShip/subscription","commits_url":"https://api.github.com/repos/Naventus/BeenosInternShip/commits{/sha}","git_commits_url":"https://api.github.com/repos/Naventus/BeenosInternShip/git/commits{/sha}","comments_url":"https://api.github.com/repos/Naventus/BeenosInternShip/comments{/number}","issue_comment_url":"https://api.github.com/repos/Naventus/BeenosInternShip/issues/comments{/number}","contents_url":"https://api.github.com/repos/Naventus/BeenosInternShip/contents/{+path}","compare_url":"https://api.github.com/repos/Naventus/BeenosInternShip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Naventus/BeenosInternShip/merges","archive_url":"https://api.github.com/repos/Naventus/BeenosInternShip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Naventus/BeenosInternShip/downloads","issues_url":"https://api.github.com/repos/Naventus/BeenosInternShip/issues{/number}","pulls_url":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls{/number}","milestones_url":"https://api.github.com/repos/Naventus/BeenosInternShip/milestones{/number}","notifications_url":"https://api.github.com/repos/Naventus/BeenosInternShip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Naventus/BeenosInternShip/labels{/name}","releases_url":"https://api.github.com/repos/Naventus/BeenosInternShip/releases{/id}","created_at":"2015-12-19T02:56:03Z","updated_at":"2015-12-19T03:30:03Z","pushed_at":"2015-12-19T06:34:47Z","git_url":"git://github.com/Naventus/BeenosInternShip.git","ssh_url":"git@github.com:Naventus/BeenosInternShip.git","clone_url":"https://github.com/Naventus/BeenosInternShip.git","svn_url":"https://github.com/Naventus/BeenosInternShip","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls/2"},"html":{"href":"https://github.com/Naventus/BeenosInternShip/pull/2"},"issue":{"href":"https://api.github.com/repos/Naventus/BeenosInternShip/issues/2"},"comments":{"href":"https://api.github.com/repos/Naventus/BeenosInternShip/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Naventus/BeenosInternShip/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Naventus/BeenosInternShip/statuses/4b45039859aff2bef3750a09fb27e885de2c461a"}}}}