{"action":"opened","number":38,"pull_request":{"url":"https://api.github.com/repos/arenanet/api-cdi/pulls/38","id":38171437,"html_url":"https://github.com/arenanet/api-cdi/pull/38","diff_url":"https://github.com/arenanet/api-cdi/pull/38.diff","patch_url":"https://github.com/arenanet/api-cdi/pull/38.patch","issue_url":"https://api.github.com/repos/arenanet/api-cdi/issues/38","number":38,"state":"open","locked":false,"title":"Proposal: /v2/spvp/matches","user":{"login":"StrategistXIV","id":10036839,"avatar_url":"https://avatars.githubusercontent.com/u/10036839?v=3","gravatar_id":"","url":"https://api.github.com/users/StrategistXIV","html_url":"https://github.com/StrategistXIV","followers_url":"https://api.github.com/users/StrategistXIV/followers","following_url":"https://api.github.com/users/StrategistXIV/following{/other_user}","gists_url":"https://api.github.com/users/StrategistXIV/gists{/gist_id}","starred_url":"https://api.github.com/users/StrategistXIV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrategistXIV/subscriptions","organizations_url":"https://api.github.com/users/StrategistXIV/orgs","repos_url":"https://api.github.com/users/StrategistXIV/repos","events_url":"https://api.github.com/users/StrategistXIV/events{/privacy}","received_events_url":"https://api.github.com/users/StrategistXIV/received_events","type":"User","site_admin":false},"body":"Hello everyone!,\r\n\r\nFirst of all: I am a bit new to github so excuse me if I forgot to do something or did do something wrong.\r\n\r\nCurrently there is no way to retrieve information about matches of sPvP. This API would enable us to look into the matches played by players and against who.\r\n\r\nA small example:\r\n// GET /v2/spvp/matches?character=Charizard\r\n[\r\n\t{\r\n\t\tmatchid: 1234,\r\n\t\tmatch_start: <datetime>,\r\n\t\tmatch_end: <datetime>,\r\n\t\tranked: true,\r\n\t\tblue_score: 500,\r\n\t\tred_score: 350,\r\n\t\tblue:\r\n\t\t{\r\n\t\t\t<Charactername>,\r\n\t\t\t<Charactername>,\r\n\t\t\t<Charactername>,\r\n\t\t\t<Charactername>,\r\n\t\t\t<Charactername>\r\n\t\t},\r\n\t\tred:\r\n\t\t{\r\n\t\t\t\"Charizard\",\r\n\t\t\t<Charactername>,\r\n\t\t\t<Charactername>,\r\n\t\t\t<Charactername>,\r\n\t\t\t<Charactername>\r\n\t\t}\r\n\t\t\r\n\t}\r\n]\r\n\r\nPersonally I'd rather have this to be an open API, so that you can also track the matches played by friends or opponents. So a list of a few issues we need to think about:\r\n\r\nIssue's:\r\n- Should we change that Character parameter to a Account parameter, so you can see all matches on the whole account? If not: What do we do with players swapping during the match?\r\n- Should we somehow be able to store the internal matchmaking score or leader board rank in a character or account so more information can be provided?\r\n- Maybe include information such as if a player left a game?\r\n- Include information about the players score at the end of the game?\r\n\r\nIt would be nice if something like http://www.lolking.net/ could be created, where you can enter a players name, see the matches and ranking and view statistics about opponents too.","created_at":"2015-06-20T17:37:56Z","updated_at":"2015-06-20T17:37:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"245838574392ae838d0da5f95ad2a7a583b59b1d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arenanet/api-cdi/pulls/38/commits","review_comments_url":"https://api.github.com/repos/arenanet/api-cdi/pulls/38/comments","review_comment_url":"https://api.github.com/repos/arenanet/api-cdi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arenanet/api-cdi/issues/38/comments","statuses_url":"https://api.github.com/repos/arenanet/api-cdi/statuses/094e43f9838016f87118df228bf15ffe7b4d0944","head":{"label":"StrategistXIV:master","ref":"master","sha":"094e43f9838016f87118df228bf15ffe7b4d0944","user":{"login":"StrategistXIV","id":10036839,"avatar_url":"https://avatars.githubusercontent.com/u/10036839?v=3","gravatar_id":"","url":"https://api.github.com/users/StrategistXIV","html_url":"https://github.com/StrategistXIV","followers_url":"https://api.github.com/users/StrategistXIV/followers","following_url":"https://api.github.com/users/StrategistXIV/following{/other_user}","gists_url":"https://api.github.com/users/StrategistXIV/gists{/gist_id}","starred_url":"https://api.github.com/users/StrategistXIV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrategistXIV/subscriptions","organizations_url":"https://api.github.com/users/StrategistXIV/orgs","repos_url":"https://api.github.com/users/StrategistXIV/repos","events_url":"https://api.github.com/users/StrategistXIV/events{/privacy}","received_events_url":"https://api.github.com/users/StrategistXIV/received_events","type":"User","site_admin":false},"repo":{"id":37777860,"name":"api-cdi","full_name":"StrategistXIV/api-cdi","owner":{"login":"StrategistXIV","id":10036839,"avatar_url":"https://avatars.githubusercontent.com/u/10036839?v=3","gravatar_id":"","url":"https://api.github.com/users/StrategistXIV","html_url":"https://github.com/StrategistXIV","followers_url":"https://api.github.com/users/StrategistXIV/followers","following_url":"https://api.github.com/users/StrategistXIV/following{/other_user}","gists_url":"https://api.github.com/users/StrategistXIV/gists{/gist_id}","starred_url":"https://api.github.com/users/StrategistXIV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrategistXIV/subscriptions","organizations_url":"https://api.github.com/users/StrategistXIV/orgs","repos_url":"https://api.github.com/users/StrategistXIV/repos","events_url":"https://api.github.com/users/StrategistXIV/events{/privacy}","received_events_url":"https://api.github.com/users/StrategistXIV/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StrategistXIV/api-cdi","description":"Collaborative Development Initiative for Public APIs","fork":true,"url":"https://api.github.com/repos/StrategistXIV/api-cdi","forks_url":"https://api.github.com/repos/StrategistXIV/api-cdi/forks","keys_url":"https://api.github.com/repos/StrategistXIV/api-cdi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StrategistXIV/api-cdi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StrategistXIV/api-cdi/teams","hooks_url":"https://api.github.com/repos/StrategistXIV/api-cdi/hooks","issue_events_url":"https://api.github.com/repos/StrategistXIV/api-cdi/issues/events{/number}","events_url":"https://api.github.com/repos/StrategistXIV/api-cdi/events","assignees_url":"https://api.github.com/repos/StrategistXIV/api-cdi/assignees{/user}","branches_url":"https://api.github.com/repos/StrategistXIV/api-cdi/branches{/branch}","tags_url":"https://api.github.com/repos/StrategistXIV/api-cdi/tags","blobs_url":"https://api.github.com/repos/StrategistXIV/api-cdi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StrategistXIV/api-cdi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StrategistXIV/api-cdi/git/refs{/sha}","trees_url":"https://api.github.com/repos/StrategistXIV/api-cdi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StrategistXIV/api-cdi/statuses/{sha}","languages_url":"https://api.github.com/repos/StrategistXIV/api-cdi/languages","stargazers_url":"https://api.github.com/repos/StrategistXIV/api-cdi/stargazers","contributors_url":"https://api.github.com/repos/StrategistXIV/api-cdi/contributors","subscribers_url":"https://api.github.com/repos/StrategistXIV/api-cdi/subscribers","subscription_url":"https://api.github.com/repos/StrategistXIV/api-cdi/subscription","commits_url":"https://api.github.com/repos/StrategistXIV/api-cdi/commits{/sha}","git_commits_url":"https://api.github.com/repos/StrategistXIV/api-cdi/git/commits{/sha}","comments_url":"https://api.github.com/repos/StrategistXIV/api-cdi/comments{/number}","issue_comment_url":"https://api.github.com/repos/StrategistXIV/api-cdi/issues/comments{/number}","contents_url":"https://api.github.com/repos/StrategistXIV/api-cdi/contents/{+path}","compare_url":"https://api.github.com/repos/StrategistXIV/api-cdi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StrategistXIV/api-cdi/merges","archive_url":"https://api.github.com/repos/StrategistXIV/api-cdi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StrategistXIV/api-cdi/downloads","issues_url":"https://api.github.com/repos/StrategistXIV/api-cdi/issues{/number}","pulls_url":"https://api.github.com/repos/StrategistXIV/api-cdi/pulls{/number}","milestones_url":"https://api.github.com/repos/StrategistXIV/api-cdi/milestones{/number}","notifications_url":"https://api.github.com/repos/StrategistXIV/api-cdi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StrategistXIV/api-cdi/labels{/name}","releases_url":"https://api.github.com/repos/StrategistXIV/api-cdi/releases{/id}","created_at":"2015-06-20T17:01:16Z","updated_at":"2015-06-20T17:01:17Z","pushed_at":"2015-06-20T17:28:41Z","git_url":"git://github.com/StrategistXIV/api-cdi.git","ssh_url":"git@github.com:StrategistXIV/api-cdi.git","clone_url":"https://github.com/StrategistXIV/api-cdi.git","svn_url":"https://github.com/StrategistXIV/api-cdi","homepage":null,"size":485,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"arenanet:master","ref":"master","sha":"824c0d04c52790dfb5370235eef87ffa478f3c80","user":{"login":"arenanet","id":744739,"avatar_url":"https://avatars.githubusercontent.com/u/744739?v=3","gravatar_id":"","url":"https://api.github.com/users/arenanet","html_url":"https://github.com/arenanet","followers_url":"https://api.github.com/users/arenanet/followers","following_url":"https://api.github.com/users/arenanet/following{/other_user}","gists_url":"https://api.github.com/users/arenanet/gists{/gist_id}","starred_url":"https://api.github.com/users/arenanet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arenanet/subscriptions","organizations_url":"https://api.github.com/users/arenanet/orgs","repos_url":"https://api.github.com/users/arenanet/repos","events_url":"https://api.github.com/users/arenanet/events{/privacy}","received_events_url":"https://api.github.com/users/arenanet/received_events","type":"Organization","site_admin":false},"repo":{"id":31027135,"name":"api-cdi","full_name":"arenanet/api-cdi","owner":{"login":"arenanet","id":744739,"avatar_url":"https://avatars.githubusercontent.com/u/744739?v=3","gravatar_id":"","url":"https://api.github.com/users/arenanet","html_url":"https://github.com/arenanet","followers_url":"https://api.github.com/users/arenanet/followers","following_url":"https://api.github.com/users/arenanet/following{/other_user}","gists_url":"https://api.github.com/users/arenanet/gists{/gist_id}","starred_url":"https://api.github.com/users/arenanet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arenanet/subscriptions","organizations_url":"https://api.github.com/users/arenanet/orgs","repos_url":"https://api.github.com/users/arenanet/repos","events_url":"https://api.github.com/users/arenanet/events{/privacy}","received_events_url":"https://api.github.com/users/arenanet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arenanet/api-cdi","description":"Collaborative Development Initiative for Public APIs","fork":false,"url":"https://api.github.com/repos/arenanet/api-cdi","forks_url":"https://api.github.com/repos/arenanet/api-cdi/forks","keys_url":"https://api.github.com/repos/arenanet/api-cdi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arenanet/api-cdi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arenanet/api-cdi/teams","hooks_url":"https://api.github.com/repos/arenanet/api-cdi/hooks","issue_events_url":"https://api.github.com/repos/arenanet/api-cdi/issues/events{/number}","events_url":"https://api.github.com/repos/arenanet/api-cdi/events","assignees_url":"https://api.github.com/repos/arenanet/api-cdi/assignees{/user}","branches_url":"https://api.github.com/repos/arenanet/api-cdi/branches{/branch}","tags_url":"https://api.github.com/repos/arenanet/api-cdi/tags","blobs_url":"https://api.github.com/repos/arenanet/api-cdi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arenanet/api-cdi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arenanet/api-cdi/git/refs{/sha}","trees_url":"https://api.github.com/repos/arenanet/api-cdi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arenanet/api-cdi/statuses/{sha}","languages_url":"https://api.github.com/repos/arenanet/api-cdi/languages","stargazers_url":"https://api.github.com/repos/arenanet/api-cdi/stargazers","contributors_url":"https://api.github.com/repos/arenanet/api-cdi/contributors","subscribers_url":"https://api.github.com/repos/arenanet/api-cdi/subscribers","subscription_url":"https://api.github.com/repos/arenanet/api-cdi/subscription","commits_url":"https://api.github.com/repos/arenanet/api-cdi/commits{/sha}","git_commits_url":"https://api.github.com/repos/arenanet/api-cdi/git/commits{/sha}","comments_url":"https://api.github.com/repos/arenanet/api-cdi/comments{/number}","issue_comment_url":"https://api.github.com/repos/arenanet/api-cdi/issues/comments{/number}","contents_url":"https://api.github.com/repos/arenanet/api-cdi/contents/{+path}","compare_url":"https://api.github.com/repos/arenanet/api-cdi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arenanet/api-cdi/merges","archive_url":"https://api.github.com/repos/arenanet/api-cdi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arenanet/api-cdi/downloads","issues_url":"https://api.github.com/repos/arenanet/api-cdi/issues{/number}","pulls_url":"https://api.github.com/repos/arenanet/api-cdi/pulls{/number}","milestones_url":"https://api.github.com/repos/arenanet/api-cdi/milestones{/number}","notifications_url":"https://api.github.com/repos/arenanet/api-cdi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arenanet/api-cdi/labels{/name}","releases_url":"https://api.github.com/repos/arenanet/api-cdi/releases{/id}","created_at":"2015-02-19T17:26:57Z","updated_at":"2015-06-20T08:50:28Z","pushed_at":"2015-06-20T17:37:56Z","git_url":"git://github.com/arenanet/api-cdi.git","ssh_url":"git@github.com:arenanet/api-cdi.git","clone_url":"https://github.com/arenanet/api-cdi.git","svn_url":"https://github.com/arenanet/api-cdi","homepage":null,"size":485,"stargazers_count":56,"watchers_count":56,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":18,"forks":13,"open_issues":18,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arenanet/api-cdi/pulls/38"},"html":{"href":"https://github.com/arenanet/api-cdi/pull/38"},"issue":{"href":"https://api.github.com/repos/arenanet/api-cdi/issues/38"},"comments":{"href":"https://api.github.com/repos/arenanet/api-cdi/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/arenanet/api-cdi/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/arenanet/api-cdi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arenanet/api-cdi/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/arenanet/api-cdi/statuses/094e43f9838016f87118df228bf15ffe7b4d0944"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":59,"deletions":0,"changed_files":1}}