{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/pulls/9","id":94991126,"html_url":"https://github.com/13J-Programmers/yorusai-entrance/pull/9","diff_url":"https://github.com/13J-Programmers/yorusai-entrance/pull/9.diff","patch_url":"https://github.com/13J-Programmers/yorusai-entrance/pull/9.patch","issue_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/issues/9","number":9,"state":"open","locked":false,"title":"able to add student from csv","user":{"login":"nobuyo","id":12470841,"avatar_url":"https://avatars.githubusercontent.com/u/12470841?v=3","gravatar_id":"","url":"https://api.github.com/users/nobuyo","html_url":"https://github.com/nobuyo","followers_url":"https://api.github.com/users/nobuyo/followers","following_url":"https://api.github.com/users/nobuyo/following{/other_user}","gists_url":"https://api.github.com/users/nobuyo/gists{/gist_id}","starred_url":"https://api.github.com/users/nobuyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nobuyo/subscriptions","organizations_url":"https://api.github.com/users/nobuyo/orgs","repos_url":"https://api.github.com/users/nobuyo/repos","events_url":"https://api.github.com/users/nobuyo/events{/privacy}","received_events_url":"https://api.github.com/users/nobuyo/received_events","type":"User","site_admin":false},"body":"<!-- What kind of change does this PR introduce? (check one with \"x\") -->\r\n- [ ] Bugfix\r\n- [x] Feature\r\n- [ ] Code style update (formatting, local variables)\r\n- [ ] Refactoring (no functional changes, no api changes)\r\n- [ ] Build related changes\r\n- [ ] CI related changes\r\n- [ ] Other... Please describe:\r\n\r\n## Outline\r\n<!-- What is the current behavior? and what is the expected behavior? -->\r\nWe can add students from csv.\r\n\r\n\r\nrequired format of file as follows:\r\n\r\n```\r\nstudent_id,grade,classname\r\n12455,5,J,\r\n16153,1,3,\r\n10221,6,専攻科,\r\n```\r\n\r\nrelated #7 & #8\r\n\r\n## Changes\r\n<!-- List the changed behavior by this PR. -->\r\n- implement `student#import_from_csv`\r\n- update usage\r\n\r\n## Additinal Tasks\r\n<!-- List the things to do. No task means PR will soon close. -->\r\n-  `student#import_from_csv` needs refactoring.\r\n","created_at":"2016-11-23T12:09:08Z","updated_at":"2016-11-23T12:09:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"tex2e","id":10919093,"avatar_url":"https://avatars.githubusercontent.com/u/10919093?v=3","gravatar_id":"","url":"https://api.github.com/users/tex2e","html_url":"https://github.com/tex2e","followers_url":"https://api.github.com/users/tex2e/followers","following_url":"https://api.github.com/users/tex2e/following{/other_user}","gists_url":"https://api.github.com/users/tex2e/gists{/gist_id}","starred_url":"https://api.github.com/users/tex2e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tex2e/subscriptions","organizations_url":"https://api.github.com/users/tex2e/orgs","repos_url":"https://api.github.com/users/tex2e/repos","events_url":"https://api.github.com/users/tex2e/events{/privacy}","received_events_url":"https://api.github.com/users/tex2e/received_events","type":"User","site_admin":false},"assignees":[{"login":"tex2e","id":10919093,"avatar_url":"https://avatars.githubusercontent.com/u/10919093?v=3","gravatar_id":"","url":"https://api.github.com/users/tex2e","html_url":"https://github.com/tex2e","followers_url":"https://api.github.com/users/tex2e/followers","following_url":"https://api.github.com/users/tex2e/following{/other_user}","gists_url":"https://api.github.com/users/tex2e/gists{/gist_id}","starred_url":"https://api.github.com/users/tex2e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tex2e/subscriptions","organizations_url":"https://api.github.com/users/tex2e/orgs","repos_url":"https://api.github.com/users/tex2e/repos","events_url":"https://api.github.com/users/tex2e/events{/privacy}","received_events_url":"https://api.github.com/users/tex2e/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/pulls/9/commits","review_comments_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/pulls/9/comments","review_comment_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/issues/9/comments","statuses_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/statuses/a320d6ecbbad7bdd1fc1b5745e9bea7ab2966734","head":{"label":"13J-Programmers:student-create-from-csv","ref":"student-create-from-csv","sha":"a320d6ecbbad7bdd1fc1b5745e9bea7ab2966734","user":{"login":"13J-Programmers","id":12493848,"avatar_url":"https://avatars.githubusercontent.com/u/12493848?v=3","gravatar_id":"","url":"https://api.github.com/users/13J-Programmers","html_url":"https://github.com/13J-Programmers","followers_url":"https://api.github.com/users/13J-Programmers/followers","following_url":"https://api.github.com/users/13J-Programmers/following{/other_user}","gists_url":"https://api.github.com/users/13J-Programmers/gists{/gist_id}","starred_url":"https://api.github.com/users/13J-Programmers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/13J-Programmers/subscriptions","organizations_url":"https://api.github.com/users/13J-Programmers/orgs","repos_url":"https://api.github.com/users/13J-Programmers/repos","events_url":"https://api.github.com/users/13J-Programmers/events{/privacy}","received_events_url":"https://api.github.com/users/13J-Programmers/received_events","type":"Organization","site_admin":false},"repo":{"id":71964803,"name":"yorusai-entrance","full_name":"13J-Programmers/yorusai-entrance","owner":{"login":"13J-Programmers","id":12493848,"avatar_url":"https://avatars.githubusercontent.com/u/12493848?v=3","gravatar_id":"","url":"https://api.github.com/users/13J-Programmers","html_url":"https://github.com/13J-Programmers","followers_url":"https://api.github.com/users/13J-Programmers/followers","following_url":"https://api.github.com/users/13J-Programmers/following{/other_user}","gists_url":"https://api.github.com/users/13J-Programmers/gists{/gist_id}","starred_url":"https://api.github.com/users/13J-Programmers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/13J-Programmers/subscriptions","organizations_url":"https://api.github.com/users/13J-Programmers/orgs","repos_url":"https://api.github.com/users/13J-Programmers/repos","events_url":"https://api.github.com/users/13J-Programmers/events{/privacy}","received_events_url":"https://api.github.com/users/13J-Programmers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/13J-Programmers/yorusai-entrance","description":null,"fork":false,"url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance","forks_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/forks","keys_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/teams","hooks_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/hooks","issue_events_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/issues/events{/number}","events_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/events","assignees_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/assignees{/user}","branches_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/branches{/branch}","tags_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/tags","blobs_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/git/refs{/sha}","trees_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/statuses/{sha}","languages_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/languages","stargazers_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/stargazers","contributors_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/contributors","subscribers_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/subscribers","subscription_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/subscription","commits_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/commits{/sha}","git_commits_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/git/commits{/sha}","comments_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/comments{/number}","issue_comment_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/issues/comments{/number}","contents_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/contents/{+path}","compare_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/merges","archive_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/downloads","issues_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/issues{/number}","pulls_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/pulls{/number}","milestones_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/milestones{/number}","notifications_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/labels{/name}","releases_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/releases{/id}","deployments_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/deployments","created_at":"2016-10-26T03:58:28Z","updated_at":"2016-10-26T03:59:05Z","pushed_at":"2016-11-23T12:08:34Z","git_url":"git://github.com/13J-Programmers/yorusai-entrance.git","ssh_url":"git@github.com:13J-Programmers/yorusai-entrance.git","clone_url":"https://github.com/13J-Programmers/yorusai-entrance.git","svn_url":"https://github.com/13J-Programmers/yorusai-entrance","homepage":null,"size":167,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"13J-Programmers:master","ref":"master","sha":"bfa8f130099733b04fc785f4c2bd5c12f1c5eecf","user":{"login":"13J-Programmers","id":12493848,"avatar_url":"https://avatars.githubusercontent.com/u/12493848?v=3","gravatar_id":"","url":"https://api.github.com/users/13J-Programmers","html_url":"https://github.com/13J-Programmers","followers_url":"https://api.github.com/users/13J-Programmers/followers","following_url":"https://api.github.com/users/13J-Programmers/following{/other_user}","gists_url":"https://api.github.com/users/13J-Programmers/gists{/gist_id}","starred_url":"https://api.github.com/users/13J-Programmers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/13J-Programmers/subscriptions","organizations_url":"https://api.github.com/users/13J-Programmers/orgs","repos_url":"https://api.github.com/users/13J-Programmers/repos","events_url":"https://api.github.com/users/13J-Programmers/events{/privacy}","received_events_url":"https://api.github.com/users/13J-Programmers/received_events","type":"Organization","site_admin":false},"repo":{"id":71964803,"name":"yorusai-entrance","full_name":"13J-Programmers/yorusai-entrance","owner":{"login":"13J-Programmers","id":12493848,"avatar_url":"https://avatars.githubusercontent.com/u/12493848?v=3","gravatar_id":"","url":"https://api.github.com/users/13J-Programmers","html_url":"https://github.com/13J-Programmers","followers_url":"https://api.github.com/users/13J-Programmers/followers","following_url":"https://api.github.com/users/13J-Programmers/following{/other_user}","gists_url":"https://api.github.com/users/13J-Programmers/gists{/gist_id}","starred_url":"https://api.github.com/users/13J-Programmers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/13J-Programmers/subscriptions","organizations_url":"https://api.github.com/users/13J-Programmers/orgs","repos_url":"https://api.github.com/users/13J-Programmers/repos","events_url":"https://api.github.com/users/13J-Programmers/events{/privacy}","received_events_url":"https://api.github.com/users/13J-Programmers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/13J-Programmers/yorusai-entrance","description":null,"fork":false,"url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance","forks_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/forks","keys_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/teams","hooks_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/hooks","issue_events_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/issues/events{/number}","events_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/events","assignees_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/assignees{/user}","branches_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/branches{/branch}","tags_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/tags","blobs_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/git/refs{/sha}","trees_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/statuses/{sha}","languages_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/languages","stargazers_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/stargazers","contributors_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/contributors","subscribers_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/subscribers","subscription_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/subscription","commits_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/commits{/sha}","git_commits_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/git/commits{/sha}","comments_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/comments{/number}","issue_comment_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/issues/comments{/number}","contents_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/contents/{+path}","compare_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/merges","archive_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/downloads","issues_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/issues{/number}","pulls_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/pulls{/number}","milestones_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/milestones{/number}","notifications_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/labels{/name}","releases_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/releases{/id}","deployments_url":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/deployments","created_at":"2016-10-26T03:58:28Z","updated_at":"2016-10-26T03:59:05Z","pushed_at":"2016-11-23T12:08:34Z","git_url":"git://github.com/13J-Programmers/yorusai-entrance.git","ssh_url":"git@github.com:13J-Programmers/yorusai-entrance.git","clone_url":"https://github.com/13J-Programmers/yorusai-entrance.git","svn_url":"https://github.com/13J-Programmers/yorusai-entrance","homepage":null,"size":167,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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/13J-Programmers/yorusai-entrance/pulls/9"},"html":{"href":"https://github.com/13J-Programmers/yorusai-entrance/pull/9"},"issue":{"href":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/issues/9"},"comments":{"href":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/13J-Programmers/yorusai-entrance/statuses/a320d6ecbbad7bdd1fc1b5745e9bea7ab2966734"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":48,"deletions":6,"changed_files":5}}
{"actor":{"display_login":"nobuyo"}}