{"action":"created","comment":{"url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls/comments/207513875","pull_request_review_id":143140399,"id":207513875,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzUxMzg3NQ==","diff_hunk":"@@ -0,0 +1,258 @@\n+﻿using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+\n+namespace Championship\n+{\n+    class GridDrawer\n+    {\n+        private int _nameLength;\n+        private int _shift;\n+        private int _rightBorder = 0;\n+        private int _widthOfFirstBranch = 3;\n+        public int _maxCursorTop = 0;\n+        private List<Team> _team = new List<Team>();\n+        private readonly int _minCursorTop=0;\n+        private string _defoltTeamName=\"\";\n+\n+        public GridDrawer(List<Team> teams, int minCursorTop)\n+        {\n+            _team = new List<Team>(teams);\n+            _team = MakeNameOneLength(_team);\n+            _minCursorTop = minCursorTop;\n+        }\n+\n+        public void DrawGrid(SingleEliminationGrid grid, GridType type)\n+        {\n+            var allTeams = new List<Team>(_team);\n+            var oneTourLength = _nameLength + 4;\n+            var countTours = grid.CountTours;\n+\n+            if (grid.Tours[grid.CountTours].Games.Count != 1)\n+                countTours++;\n+\n+            _rightBorder = 2 * oneTourLength * countTours+1;\n+\n+            int lastTour = grid.Tours.Count;\n+\n+            if (type == GridType.DoubleGrid && grid.Tours[lastTour - 1].Games.Count == 1)\n+            {\n+                lastTour--;\n+            }\n+\n+            for (int i = 0; i < lastTour; i++)\n+            {\n+                int lastgame = GetMiddleGame(grid.Tours[i].Games.Count);\n+\n+                for (int j = 0; j < grid.Tours[i].Games.Count; j++)\n+                {\n+                    var currentGame = grid.Tours[i].Games[j];\n+\n+                    if (j < lastgame || type == GridType.StandardGrid)\n+                    {\n+                        DrawBranch(true, i, j, currentGame);\n+                    }\n+                    else\n+                    {\n+                        DrawBranch(false, i, j - lastgame, currentGame);\n+                    }\n+                }\n+            }\n+\n+            PrintChampion(grid.CountTours+1, grid.Champion, type);\n+            Console.CursorTop = _maxCursorTop + 1;\n+            _team = allTeams;\n+        }\n+\n+        private List<Team> MakeNameOneLength(List<Team> teams)\n+        {\n+            List<Team> result = new List<Team>();\n+            _nameLength = teams.Max(a => a.Name.Length);\n+            _shift = _nameLength-1;\n+            _defoltTeamName = _defoltTeamName.PadLeft(_nameLength);\n+\n+            foreach (var team in teams)\n+            {\n+                string newTeamName = team.Name.PadLeft(_nameLength);\n+                team.Name = newTeamName;\n+                result.Add(team);\n+            }\n+            \n+            return result;\n+        }\n+\n+        private int GetMiddleGame(int countGames)\n+        {\n+            return countGames % 2 != 0 ? countGames / 2 + 1 : countGames / 2;\n+        }\n+\n+        private void DrawBranch(bool isLeft, int i, int j, Game game)\n+        {\n+            if (game == null)\n+                return;\n+\n+            PrintUpLine(isLeft, i, j, game);\n+            PrintMiddleLine(isLeft, i, j, game);\n+            PrintDownLine(isLeft, i, j, game);\n+        }\n+\n+        private void PrintUpLine(bool isLeft, int i, int j, Game game)\n+        {\n+            SetColor(game.Winner, game.FirstTeam);\n+\n+            int y = GetCursorLeft(isLeft, i);\n+            SetCursorTop(i, j);\n+\n+            DrawHorizontalLine(isLeft, y, game.FirstTeam);\n+            DrawVerticalLine(isLeft, y, i);\n+        }\n+\n+        private void PrintMiddleLine(bool isLeft, int i, int j, Game game)\n+        {\n+            if (game.Winner==null)\n+            {\n+                Console.ForegroundColor = (ConsoleColor)LineColor.StandartColor;\n+            }\n+            else\n+            {\n+                Console.ForegroundColor = (ConsoleColor)LineColor.WinnerColor;\n+            }\n+\n+            int y = GetCursorLeft(isLeft, i);\n+\n+            if (isLeft)\n+            {\n+                Console.CursorLeft = y + 2;\n+                Console.WriteLine(\"|--\");\n+            }\n+            else\n+            {\n+                Console.CursorLeft = y - 2;\n+                Console.WriteLine(\"--|\");\n+            }\n+        }\n+\n+        private void PrintDownLine(bool isLeft, int i, int j, Game game)\n+        {\n+            SetColor(game.Winner, game.SecondTeam);\n+\n+            int y = GetCursorLeft(isLeft, i);\n+\n+            DrawVerticalLine(isLeft, y, i);\n+            DrawHorizontalLine(isLeft, y, game.SecondTeam);\n+\n+            _maxCursorTop = Math.Max(_maxCursorTop, Console.CursorTop);\n+        }\n+\n+        private void DrawHorizontalLine(bool isLeft, int cursorLeft, Team team)\n+        {\n+            PrintTeamName(isLeft, cursorLeft, team);\n+        }\n+\n+        private void DrawVerticalLine(bool isLeft, int cursorLeft, int i)\n+        {\n+            if (isLeft)\n+            {\n+                cursorLeft += 2;\n+            }\n+\n+            for (int j = 0; j < GetLengthOfBranch(i) / 2; j++)\n+            {\n+                Console.CursorLeft = cursorLeft;\n+                Console.WriteLine(\"|\");\n+            }\n+        }\n+\n+        private void SetColor(Team winner, Team team)\n+        {\n+            Console.ForegroundColor = (ConsoleColor)LineColor.StandartColor;\n+\n+            if (winner != null && winner.Equals(team))\n+            {\n+                Console.ForegroundColor = (ConsoleColor)LineColor.WinnerColor;\n+            }\n+        }\n+\n+        private void SetCursorTop(int i, int j)\n+        {\n+            Console.CursorTop = j * (GetWidthOfBranch(i) + 1) + GetWidthOfBranch(i - 1) / 2 + _minCursorTop;\n+        }\n+\n+        private int GetCursorLeft(bool isleft, int i)\n+        {\n+            if (isleft)\n+            {\n+                return (_nameLength + 4) * i+_nameLength;\n+            }\n+            else\n+            {\n+                return _rightBorder - (_nameLength+ 4) * i;\n+            }\n+        }\n+\n+        private void PrintTeamName(bool isleft, int cursorleft, Team team)\n+        {\n+            if (isleft)\n+            {\n+                Console.CursorLeft = Math.Max(cursorleft - _shift, 0);\n+\n+                if (team == null)\n+                    Console.WriteLine($\"{_defoltTeamName}--\");","path":"2018/Pichkur/Championship/Championship/GridDrawer.cs","position":200,"original_position":200,"commit_id":"32a359f61ce2a96e51764a9b4d6a470ee0045dad","original_commit_id":"32a359f61ce2a96e51764a9b4d6a470ee0045dad","user":{"login":"Ten1n","id":2276198,"node_id":"MDQ6VXNlcjIyNzYxOTg=","avatar_url":"https://avatars0.githubusercontent.com/u/2276198?v=4","gravatar_id":"","url":"https://api.github.com/users/Ten1n","html_url":"https://github.com/Ten1n","followers_url":"https://api.github.com/users/Ten1n/followers","following_url":"https://api.github.com/users/Ten1n/following{/other_user}","gists_url":"https://api.github.com/users/Ten1n/gists{/gist_id}","starred_url":"https://api.github.com/users/Ten1n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ten1n/subscriptions","organizations_url":"https://api.github.com/users/Ten1n/orgs","repos_url":"https://api.github.com/users/Ten1n/repos","events_url":"https://api.github.com/users/Ten1n/events{/privacy}","received_events_url":"https://api.github.com/users/Ten1n/received_events","type":"User","site_admin":false},"body":"Defolt","created_at":"2018-08-03T11:13:59Z","updated_at":"2018-08-03T11:27:25Z","html_url":"https://github.com/ConfirmitYaroslavlStudents/Students/pull/55#discussion_r207513875","pull_request_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls/55","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls/comments/207513875"},"html":{"href":"https://github.com/ConfirmitYaroslavlStudents/Students/pull/55#discussion_r207513875"},"pull_request":{"href":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls/55","id":204302357,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MzAyMzU3","html_url":"https://github.com/ConfirmitYaroslavlStudents/Students/pull/55","diff_url":"https://github.com/ConfirmitYaroslavlStudents/Students/pull/55.diff","patch_url":"https://github.com/ConfirmitYaroslavlStudents/Students/pull/55.patch","issue_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/issues/55","number":55,"state":"open","locked":false,"title":"Rewrote all tournament.Added two types of displaying tournament grid","user":{"login":"FoxHanter","id":40995369,"node_id":"MDQ6VXNlcjQwOTk1MzY5","avatar_url":"https://avatars3.githubusercontent.com/u/40995369?v=4","gravatar_id":"","url":"https://api.github.com/users/FoxHanter","html_url":"https://github.com/FoxHanter","followers_url":"https://api.github.com/users/FoxHanter/followers","following_url":"https://api.github.com/users/FoxHanter/following{/other_user}","gists_url":"https://api.github.com/users/FoxHanter/gists{/gist_id}","starred_url":"https://api.github.com/users/FoxHanter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FoxHanter/subscriptions","organizations_url":"https://api.github.com/users/FoxHanter/orgs","repos_url":"https://api.github.com/users/FoxHanter/repos","events_url":"https://api.github.com/users/FoxHanter/events{/privacy}","received_events_url":"https://api.github.com/users/FoxHanter/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-27T00:41:14Z","updated_at":"2018-08-03T11:27:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58c5a5f0e66586b76b65617221369bfe2c89f990","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls/55/commits","review_comments_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls/55/comments","review_comment_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/issues/55/comments","statuses_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/statuses/32a359f61ce2a96e51764a9b4d6a470ee0045dad","head":{"label":"ConfirmitYaroslavlStudents:tournamentPichkur","ref":"tournamentPichkur","sha":"32a359f61ce2a96e51764a9b4d6a470ee0045dad","user":{"login":"ConfirmitYaroslavlStudents","id":34365431,"node_id":"MDQ6VXNlcjM0MzY1NDMx","avatar_url":"https://avatars2.githubusercontent.com/u/34365431?v=4","gravatar_id":"","url":"https://api.github.com/users/ConfirmitYaroslavlStudents","html_url":"https://github.com/ConfirmitYaroslavlStudents","followers_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/followers","following_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/following{/other_user}","gists_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/gists{/gist_id}","starred_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/subscriptions","organizations_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/orgs","repos_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/repos","events_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/events{/privacy}","received_events_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/received_events","type":"User","site_admin":false},"repo":{"id":9341204,"node_id":"MDEwOlJlcG9zaXRvcnk5MzQxMjA0","name":"Students","full_name":"ConfirmitYaroslavlStudents/Students","owner":{"login":"ConfirmitYaroslavlStudents","id":34365431,"node_id":"MDQ6VXNlcjM0MzY1NDMx","avatar_url":"https://avatars2.githubusercontent.com/u/34365431?v=4","gravatar_id":"","url":"https://api.github.com/users/ConfirmitYaroslavlStudents","html_url":"https://github.com/ConfirmitYaroslavlStudents","followers_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/followers","following_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/following{/other_user}","gists_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/gists{/gist_id}","starred_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/subscriptions","organizations_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/orgs","repos_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/repos","events_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/events{/privacy}","received_events_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ConfirmitYaroslavlStudents/Students","description":null,"fork":false,"url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students","forks_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/forks","keys_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/teams","hooks_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/hooks","issue_events_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/issues/events{/number}","events_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/events","assignees_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/assignees{/user}","branches_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/branches{/branch}","tags_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/tags","blobs_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/git/refs{/sha}","trees_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/statuses/{sha}","languages_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/languages","stargazers_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/stargazers","contributors_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/contributors","subscribers_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/subscribers","subscription_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/subscription","commits_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/commits{/sha}","git_commits_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/git/commits{/sha}","comments_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/comments{/number}","issue_comment_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/issues/comments{/number}","contents_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/contents/{+path}","compare_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/merges","archive_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/downloads","issues_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/issues{/number}","pulls_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls{/number}","milestones_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/milestones{/number}","notifications_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/labels{/name}","releases_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/releases{/id}","deployments_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/deployments","created_at":"2013-04-10T08:06:21Z","updated_at":"2018-08-03T07:13:38Z","pushed_at":"2018-08-03T09:30:33Z","git_url":"git://github.com/ConfirmitYaroslavlStudents/Students.git","ssh_url":"git@github.com:ConfirmitYaroslavlStudents/Students.git","clone_url":"https://github.com/ConfirmitYaroslavlStudents/Students.git","svn_url":"https://github.com/ConfirmitYaroslavlStudents/Students","homepage":null,"size":40711,"stargazers_count":3,"watchers_count":3,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":7,"open_issues":12,"watchers":3,"default_branch":"master"}},"base":{"label":"ConfirmitYaroslavlStudents:master","ref":"master","sha":"9474275b49fb0a1e76b3f930a75b079498b7b40b","user":{"login":"ConfirmitYaroslavlStudents","id":34365431,"node_id":"MDQ6VXNlcjM0MzY1NDMx","avatar_url":"https://avatars2.githubusercontent.com/u/34365431?v=4","gravatar_id":"","url":"https://api.github.com/users/ConfirmitYaroslavlStudents","html_url":"https://github.com/ConfirmitYaroslavlStudents","followers_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/followers","following_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/following{/other_user}","gists_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/gists{/gist_id}","starred_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/subscriptions","organizations_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/orgs","repos_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/repos","events_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/events{/privacy}","received_events_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/received_events","type":"User","site_admin":false},"repo":{"id":9341204,"node_id":"MDEwOlJlcG9zaXRvcnk5MzQxMjA0","name":"Students","full_name":"ConfirmitYaroslavlStudents/Students","owner":{"login":"ConfirmitYaroslavlStudents","id":34365431,"node_id":"MDQ6VXNlcjM0MzY1NDMx","avatar_url":"https://avatars2.githubusercontent.com/u/34365431?v=4","gravatar_id":"","url":"https://api.github.com/users/ConfirmitYaroslavlStudents","html_url":"https://github.com/ConfirmitYaroslavlStudents","followers_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/followers","following_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/following{/other_user}","gists_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/gists{/gist_id}","starred_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/subscriptions","organizations_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/orgs","repos_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/repos","events_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/events{/privacy}","received_events_url":"https://api.github.com/users/ConfirmitYaroslavlStudents/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ConfirmitYaroslavlStudents/Students","description":null,"fork":false,"url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students","forks_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/forks","keys_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/teams","hooks_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/hooks","issue_events_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/issues/events{/number}","events_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/events","assignees_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/assignees{/user}","branches_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/branches{/branch}","tags_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/tags","blobs_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/git/refs{/sha}","trees_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/statuses/{sha}","languages_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/languages","stargazers_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/stargazers","contributors_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/contributors","subscribers_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/subscribers","subscription_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/subscription","commits_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/commits{/sha}","git_commits_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/git/commits{/sha}","comments_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/comments{/number}","issue_comment_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/issues/comments{/number}","contents_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/contents/{+path}","compare_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/merges","archive_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/downloads","issues_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/issues{/number}","pulls_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls{/number}","milestones_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/milestones{/number}","notifications_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/labels{/name}","releases_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/releases{/id}","deployments_url":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/deployments","created_at":"2013-04-10T08:06:21Z","updated_at":"2018-08-03T07:13:38Z","pushed_at":"2018-08-03T09:30:33Z","git_url":"git://github.com/ConfirmitYaroslavlStudents/Students.git","ssh_url":"git@github.com:ConfirmitYaroslavlStudents/Students.git","clone_url":"https://github.com/ConfirmitYaroslavlStudents/Students.git","svn_url":"https://github.com/ConfirmitYaroslavlStudents/Students","homepage":null,"size":40711,"stargazers_count":3,"watchers_count":3,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":7,"open_issues":12,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls/55"},"html":{"href":"https://github.com/ConfirmitYaroslavlStudents/Students/pull/55"},"issue":{"href":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/issues/55"},"comments":{"href":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/ConfirmitYaroslavlStudents/Students/statuses/32a359f61ce2a96e51764a9b4d6a470ee0045dad"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Ten1n"}}