박찬수

번역기능 수정

...@@ -16,7 +16,7 @@ function GetGameSchedule(teamID, leagueID, season, eventObj){ ...@@ -16,7 +16,7 @@ function GetGameSchedule(teamID, leagueID, season, eventObj){
16 }); 16 });
17 } 17 }
18 18
19 -// 입력: 리그ID, 반환: 팀 순위 19 +// 입력: 리그ID, 시즌(*필수) 반환: 팀 순위
20 function GetLeagueStanding(leagueID, season){ 20 function GetLeagueStanding(leagueID, season){
21 var request = require("request"); 21 var request = require("request");
22 var options = { 22 var options = {
...@@ -42,13 +42,13 @@ function GetLeagueStanding(leagueID, season){ ...@@ -42,13 +42,13 @@ function GetLeagueStanding(leagueID, season){
42 }); 42 });
43 } 43 }
44 44
45 -// 입력: 리그ID, 반환: (선수) 득점 순위 45 +// 입력: 리그ID(*필수), 시즌(*필수), 반환: (선수) 득점 순위
46 -function GetTopScorer(season){ 46 +function GetTopScorer(leagueID, season){
47 var request = require("request"); 47 var request = require("request");
48 var options = { 48 var options = {
49 method: 'GET', 49 method: 'GET',
50 url: 'https://v3.football.api-sports.io/players/topscorers', 50 url: 'https://v3.football.api-sports.io/players/topscorers',
51 - qs: {season: season}, 51 + qs: {league : leagueID, season: season},
52 headers: { 52 headers: {
53 'x-rapidapi-host': 'v3.football.api-sports.io', 53 'x-rapidapi-host': 'v3.football.api-sports.io',
54 'x-rapidapi-key': '526fc70a2e8b315e9a960ac4b4764191' 54 'x-rapidapi-key': '526fc70a2e8b315e9a960ac4b4764191'
...@@ -60,13 +60,13 @@ function GetTopScorer(season){ ...@@ -60,13 +60,13 @@ function GetTopScorer(season){
60 }); 60 });
61 } 61 }
62 62
63 -// 입력: 리그ID, 반환: 도움 순위 63 +// 입력: 리그ID(*필수), 시즌(*필수), 반환: 도움 순위
64 -function GetTopAssist(season){ 64 +function GetTopAssist(leagueID, season){
65 var request = require("request"); 65 var request = require("request");
66 var options = { 66 var options = {
67 method: 'GET', 67 method: 'GET',
68 url: 'https://v3.football.api-sports.io/players/topassists', 68 url: 'https://v3.football.api-sports.io/players/topassists',
69 - qs: {season: season}, 69 + qs: {league : leagueID, season: season},
70 headers: { 70 headers: {
71 'x-rapidapi-host': 'v3.football.api-sports.io', 71 'x-rapidapi-host': 'v3.football.api-sports.io',
72 'x-rapidapi-key': '526fc70a2e8b315e9a960ac4b4764191' 72 'x-rapidapi-key': '526fc70a2e8b315e9a960ac4b4764191'
...@@ -132,4 +132,3 @@ function GetTeamStanding(teamID, season){ ...@@ -132,4 +132,3 @@ function GetTeamStanding(teamID, season){
132 }); 132 });
133 } 133 }
134 134
135 -GetLeagueStanding(39, 2021);
......
1 +// 도움순위
2 +let topAssistJson = {"get":"players\/topassists","parameters":{"league":"39","season":"2021"},"errors":[],"results":20,"paging":{"current":0,"total":1},"response":[{"player":{"id":306,"name":"Mohamed Salah Ghaly","firstname":"Mohamed","lastname":"Salah Ghaly","age":30,"birth":{"date":"1992-06-15","place":"Mu\u1e25\u0101fa\u1e93at al Gharbiyya","country":"Egypt"},"nationality":"Egypt","height":"175 cm","weight":"71 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/306.png"},"statistics":[{"team":{"id":40,"name":"Liverpool","logo":"https:\/\/media.api-sports.io\/football\/teams\/40.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":35,"lineups":30,"minutes":2762,"number":null,"position":"Attacker","rating":"7.391428","captain":false},"substitutes":{"in":5,"out":5,"bench":5},"shots":{"total":101,"on":60},"goals":{"total":23,"conceded":0,"assists":13,"saves":null},"passes":{"total":1079,"key":64,"accuracy":24},"tackles":{"total":17,"blocks":1,"interceptions":6},"duels":{"total":309,"won":100},"dribbles":{"attempts":124,"success":53,"past":null},"fouls":{"drawn":23,"committed":12},"cards":{"yellow":1,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":5,"missed":1,"saved":null}}]},{"player":{"id":283,"name":"T. Alexander-Arnold","firstname":"Trent","lastname":"Alexander-Arnold","age":24,"birth":{"date":"1998-10-07","place":"Liverpool","country":"England"},"nationality":"England","height":"175 cm","weight":"69 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/283.png"},"statistics":[{"team":{"id":40,"name":"Liverpool","logo":"https:\/\/media.api-sports.io\/football\/teams\/40.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":32,"lineups":32,"minutes":2854,"number":null,"position":"Defender","rating":"7.662500","captain":false},"substitutes":{"in":0,"out":2,"bench":2},"shots":{"total":36,"on":15},"goals":{"total":2,"conceded":0,"assists":12,"saves":null},"passes":{"total":2155,"key":90,"accuracy":52},"tackles":{"total":40,"blocks":4,"interceptions":43},"duels":{"total":178,"won":81},"dribbles":{"attempts":39,"success":19,"past":null},"fouls":{"drawn":7,"committed":12},"cards":{"yellow":2,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":19428,"name":"J. Bowen","firstname":"Jarrod","lastname":"Bowen","age":26,"birth":{"date":"1996-12-20","place":"Leominster","country":"England"},"nationality":"England","height":null,"weight":null,"injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/19428.png"},"statistics":[{"team":{"id":48,"name":"West Ham","logo":"https:\/\/media.api-sports.io\/football\/teams\/48.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":36,"lineups":34,"minutes":2993,"number":null,"position":"Attacker","rating":"7.033333","captain":false},"substitutes":{"in":2,"out":12,"bench":2},"shots":{"total":56,"on":34},"goals":{"total":12,"conceded":0,"assists":10,"saves":null},"passes":{"total":714,"key":42,"accuracy":15},"tackles":{"total":36,"blocks":2,"interceptions":21},"duels":{"total":370,"won":167},"dribbles":{"attempts":88,"success":50,"past":null},"fouls":{"drawn":43,"committed":25},"cards":{"yellow":6,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":19220,"name":"M. Mount","firstname":"Mason","lastname":"Mount","age":23,"birth":{"date":"1999-01-10","place":"Portsmouth","country":"England"},"nationality":"England","height":"178 cm","weight":"70 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/19220.png"},"statistics":[{"team":{"id":49,"name":"Chelsea","logo":"https:\/\/media.api-sports.io\/football\/teams\/49.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":32,"lineups":27,"minutes":2365,"number":null,"position":"Midfielder","rating":"7.443750","captain":false},"substitutes":{"in":5,"out":7,"bench":8},"shots":{"total":55,"on":29},"goals":{"total":11,"conceded":0,"assists":10,"saves":null},"passes":{"total":1115,"key":58,"accuracy":29},"tackles":{"total":41,"blocks":1,"interceptions":13},"duels":{"total":230,"won":88},"dribbles":{"attempts":42,"success":18,"past":null},"fouls":{"drawn":23,"committed":30},"cards":{"yellow":4,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":1,"missed":0,"saved":null}}]},{"player":{"id":18778,"name":"H. Barnes","firstname":"Harvey Lewis","lastname":"Barnes","age":25,"birth":{"date":"1997-12-09","place":"Burnley","country":"England"},"nationality":"England","height":"174 cm","weight":"66 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/18778.png"},"statistics":[{"team":{"id":46,"name":"Leicester","logo":"https:\/\/media.api-sports.io\/football\/teams\/46.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":32,"lineups":24,"minutes":2104,"number":null,"position":"Midfielder","rating":"6.775000","captain":false},"substitutes":{"in":8,"out":11,"bench":11},"shots":{"total":45,"on":24},"goals":{"total":6,"conceded":0,"assists":10,"saves":null},"passes":{"total":704,"key":29,"accuracy":16},"tackles":{"total":31,"blocks":1,"interceptions":5},"duels":{"total":269,"won":106},"dribbles":{"attempts":75,"success":31,"past":null},"fouls":{"drawn":20,"committed":19},"cards":{"yellow":2,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":289,"name":"A. Robertson","firstname":"Andrew","lastname":"Robertson","age":28,"birth":{"date":"1994-03-11","place":"Glasgow","country":"Scotland"},"nationality":"Scotland","height":"178 cm","weight":"64 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/289.png"},"statistics":[{"team":{"id":40,"name":"Liverpool","logo":"https:\/\/media.api-sports.io\/football\/teams\/40.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":29,"lineups":29,"minutes":2541,"number":null,"position":"Defender","rating":"7.400000","captain":false},"substitutes":{"in":0,"out":3,"bench":4},"shots":{"total":14,"on":8},"goals":{"total":3,"conceded":0,"assists":10,"saves":null},"passes":{"total":1928,"key":56,"accuracy":56},"tackles":{"total":36,"blocks":3,"interceptions":23},"duels":{"total":157,"won":84},"dribbles":{"attempts":23,"success":13,"past":null},"fouls":{"drawn":9,"committed":19},"cards":{"yellow":5,"yellowred":0,"red":1},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":184,"name":"Harry Kane","firstname":"Harry","lastname":"Kane","age":29,"birth":{"date":"1993-07-28","place":"London","country":"England"},"nationality":"England","height":"188 cm","weight":"86 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/184.png"},"statistics":[{"team":{"id":47,"name":"Tottenham","logo":"https:\/\/media.api-sports.io\/football\/teams\/47.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":37,"lineups":36,"minutes":3232,"number":null,"position":"Attacker","rating":"7.378378","captain":false},"substitutes":{"in":1,"out":1,"bench":1},"shots":{"total":97,"on":55},"goals":{"total":17,"conceded":0,"assists":9,"saves":null},"passes":{"total":874,"key":53,"accuracy":16},"tackles":{"total":15,"blocks":8,"interceptions":3},"duels":{"total":437,"won":198},"dribbles":{"attempts":100,"success":54,"past":null},"fouls":{"drawn":54,"committed":42},"cards":{"yellow":5,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":4,"missed":0,"saved":null}}]},{"player":{"id":19545,"name":"R. James","firstname":"Reece","lastname":"James","age":23,"birth":{"date":"1999-12-08","place":"London","country":"England"},"nationality":"England","height":"183 cm","weight":"82 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/19545.png"},"statistics":[{"team":{"id":49,"name":"Chelsea","logo":"https:\/\/media.api-sports.io\/football\/teams\/49.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":26,"lineups":22,"minutes":1865,"number":null,"position":"Defender","rating":"7.388000","captain":false},"substitutes":{"in":4,"out":4,"bench":5},"shots":{"total":24,"on":10},"goals":{"total":5,"conceded":0,"assists":9,"saves":null},"passes":{"total":1379,"key":49,"accuracy":47},"tackles":{"total":33,"blocks":2,"interceptions":17},"duels":{"total":202,"won":117},"dribbles":{"attempts":47,"success":36,"past":null},"fouls":{"drawn":31,"committed":20},"cards":{"yellow":4,"yellowred":0,"red":1},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":904,"name":"P. Pogba","firstname":"Paul","lastname":"Pogba","age":29,"birth":{"date":"1993-03-15","place":"Lagny-sur-Marne","country":"France"},"nationality":"France","height":"191 cm","weight":"84 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/904.png"},"statistics":[{"team":{"id":33,"name":"Manchester United","logo":"https:\/\/media.api-sports.io\/football\/teams\/33.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":20,"lineups":16,"minutes":1353,"number":null,"position":"Midfielder","rating":"6.905000","captain":false},"substitutes":{"in":4,"out":7,"bench":4},"shots":{"total":23,"on":8},"goals":{"total":1,"conceded":0,"assists":9,"saves":null},"passes":{"total":877,"key":24,"accuracy":36},"tackles":{"total":13,"blocks":null,"interceptions":13},"duels":{"total":238,"won":116},"dribbles":{"attempts":54,"success":39,"past":null},"fouls":{"drawn":29,"committed":39},"cards":{"yellow":7,"yellowred":0,"red":1},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":629,"name":"K. De Bruyne","firstname":"Kevin","lastname":"De Bruyne","age":31,"birth":{"date":"1991-06-28","place":"Drongen","country":"Belgium"},"nationality":"Belgium","height":"181 cm","weight":"68 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/629.png"},"statistics":[{"team":{"id":50,"name":"Manchester City","logo":"https:\/\/media.api-sports.io\/football\/teams\/50.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":30,"lineups":25,"minutes":2205,"number":null,"position":"Midfielder","rating":"7.780000","captain":false},"substitutes":{"in":5,"out":9,"bench":8},"shots":{"total":56,"on":31},"goals":{"total":15,"conceded":0,"assists":8,"saves":null},"passes":{"total":1358,"key":87,"accuracy":37},"tackles":{"total":32,"blocks":2,"interceptions":6},"duels":{"total":209,"won":101},"dribbles":{"attempts":55,"success":31,"past":null},"fouls":{"drawn":27,"committed":21},"cards":{"yellow":2,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":18784,"name":"J. Maddison","firstname":"James","lastname":"Maddison","age":26,"birth":{"date":"1996-11-23","place":"Coventry","country":"England"},"nationality":"England","height":"175 cm","weight":"73 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/18784.png"},"statistics":[{"team":{"id":46,"name":"Leicester","logo":"https:\/\/media.api-sports.io\/football\/teams\/46.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":35,"lineups":28,"minutes":2466,"number":null,"position":"Midfielder","rating":"7.302857","captain":false},"substitutes":{"in":7,"out":14,"bench":7},"shots":{"total":54,"on":34},"goals":{"total":12,"conceded":0,"assists":8,"saves":null},"passes":{"total":955,"key":49,"accuracy":22},"tackles":{"total":40,"blocks":3,"interceptions":11},"duels":{"total":254,"won":140},"dribbles":{"attempts":48,"success":31,"past":null},"fouls":{"drawn":64,"committed":22},"cards":{"yellow":3,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":18819,"name":"Michail Gregory Antonio","firstname":"Michail Gregory","lastname":"Antonio","age":32,"birth":{"date":"1990-03-28","place":"London","country":"England"},"nationality":"Jamaica","height":"180 cm","weight":"82 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/18819.png"},"statistics":[{"team":{"id":48,"name":"West Ham","logo":"https:\/\/media.api-sports.io\/football\/teams\/48.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":36,"lineups":34,"minutes":2980,"number":null,"position":"Attacker","rating":"6.966666","captain":false},"substitutes":{"in":2,"out":10,"bench":3},"shots":{"total":59,"on":29},"goals":{"total":10,"conceded":0,"assists":8,"saves":null},"passes":{"total":615,"key":46,"accuracy":11},"tackles":{"total":23,"blocks":1,"interceptions":3},"duels":{"total":489,"won":204},"dribbles":{"attempts":93,"success":50,"past":null},"fouls":{"drawn":52,"committed":50},"cards":{"yellow":7,"yellowred":1,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":1,"saved":null}}]},{"player":{"id":643,"name":"Gabriel Jesus","firstname":"Gabriel Fernando","lastname":"de Jesus","age":25,"birth":{"date":"1997-04-03","place":"S\u00e3o Paulo","country":"Brazil"},"nationality":"Brazil","height":"175 cm","weight":"73 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/643.png"},"statistics":[{"team":{"id":50,"name":"Manchester City","logo":"https:\/\/media.api-sports.io\/football\/teams\/50.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":28,"lineups":21,"minutes":1878,"number":null,"position":"Attacker","rating":"7.144444","captain":false},"substitutes":{"in":7,"out":8,"bench":13},"shots":{"total":44,"on":25},"goals":{"total":8,"conceded":0,"assists":8,"saves":null},"passes":{"total":739,"key":38,"accuracy":22},"tackles":{"total":18,"blocks":null,"interceptions":15},"duels":{"total":242,"won":111},"dribbles":{"attempts":71,"success":46,"past":null},"fouls":{"drawn":26,"committed":26},"cards":{"yellow":1,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":1,"missed":0,"saved":null}}]},{"player":{"id":30435,"name":"D. Kulusevski","firstname":"Dejan","lastname":"Kulusevski","age":22,"birth":{"date":"2000-04-25","place":null,"country":"Sweden"},"nationality":"Sweden","height":"186 cm","weight":"80 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/30435.png"},"statistics":[{"team":{"id":47,"name":"Tottenham","logo":"https:\/\/media.api-sports.io\/football\/teams\/47.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":18,"lineups":14,"minutes":1267,"number":null,"position":"Midfielder","rating":"7.205555","captain":false},"substitutes":{"in":4,"out":10,"bench":4},"shots":{"total":15,"on":10},"goals":{"total":5,"conceded":0,"assists":8,"saves":null},"passes":{"total":456,"key":25,"accuracy":21},"tackles":{"total":19,"blocks":null,"interceptions":13},"duels":{"total":144,"won":62},"dribbles":{"attempts":44,"success":25,"past":null},"fouls":{"drawn":15,"committed":20},"cards":{"yellow":3,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":186,"name":"Son Heung-Min","firstname":"Heung-Min","lastname":"Son","age":30,"birth":{"date":"1992-07-08","place":"Chuncheon","country":"Korea Republic"},"nationality":"Korea Republic","height":"183 cm","weight":"78 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/186.png"},"statistics":[{"team":{"id":47,"name":"Tottenham","logo":"https:\/\/media.api-sports.io\/football\/teams\/47.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":35,"lineups":35,"minutes":3021,"number":null,"position":"Midfielder","rating":"7.505714","captain":false},"substitutes":{"in":0,"out":15,"bench":0},"shots":{"total":69,"on":49},"goals":{"total":23,"conceded":0,"assists":7,"saves":null},"passes":{"total":1015,"key":73,"accuracy":25},"tackles":{"total":15,"blocks":6,"interceptions":13},"duels":{"total":270,"won":118},"dribbles":{"attempts":92,"success":51,"past":null},"fouls":{"drawn":36,"committed":14},"cards":{"yellow":2,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":1460,"name":"B. Saka","firstname":"Bukayo","lastname":"Saka","age":21,"birth":{"date":"2001-09-05","place":"London","country":"England"},"nationality":"England","height":"178 cm","weight":"65 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/1460.png"},"statistics":[{"team":{"id":42,"name":"Arsenal","logo":"https:\/\/media.api-sports.io\/football\/teams\/42.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":38,"lineups":36,"minutes":2996,"number":null,"position":"Attacker","rating":"6.989473","captain":false},"substitutes":{"in":2,"out":20,"bench":2},"shots":{"total":58,"on":31},"goals":{"total":11,"conceded":0,"assists":7,"saves":null},"passes":{"total":1062,"key":69,"accuracy":22},"tackles":{"total":40,"blocks":2,"interceptions":22},"duels":{"total":371,"won":165},"dribbles":{"attempts":102,"success":43,"past":null},"fouls":{"drawn":59,"committed":39},"cards":{"yellow":6,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":2,"missed":0,"saved":null}}]},{"player":{"id":20589,"name":"B. Mbeumo","firstname":"Bryan","lastname":"Mbeumo","age":23,"birth":{"date":"1999-08-07","place":"Avallon","country":"France"},"nationality":"France","height":"173 cm","weight":null,"injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/20589.png"},"statistics":[{"team":{"id":55,"name":"Brentford","logo":"https:\/\/media.api-sports.io\/football\/teams\/55.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":35,"lineups":34,"minutes":2916,"number":null,"position":"Attacker","rating":"6.842857","captain":false},"substitutes":{"in":1,"out":12,"bench":2},"shots":{"total":59,"on":22},"goals":{"total":4,"conceded":0,"assists":7,"saves":null},"passes":{"total":730,"key":34,"accuracy":14},"tackles":{"total":28,"blocks":6,"interceptions":11},"duels":{"total":368,"won":134},"dribbles":{"attempts":80,"success":39,"past":null},"fouls":{"drawn":38,"committed":20},"cards":{"yellow":4,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":1,"missed":0,"saved":null}}]},{"player":{"id":1467,"name":"Alexandre Lacazette","firstname":"Alexandre","lastname":"Lacazette","age":31,"birth":{"date":"1991-05-28","place":"Lyon","country":"France"},"nationality":"France","height":"175 cm","weight":"73 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/1467.png"},"statistics":[{"team":{"id":42,"name":"Arsenal","logo":"https:\/\/media.api-sports.io\/football\/teams\/42.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":30,"lineups":20,"minutes":1787,"number":null,"position":"Attacker","rating":"6.964285","captain":false},"substitutes":{"in":10,"out":14,"bench":15},"shots":{"total":35,"on":15},"goals":{"total":4,"conceded":0,"assists":7,"saves":null},"passes":{"total":444,"key":29,"accuracy":12},"tackles":{"total":27,"blocks":1,"interceptions":5},"duels":{"total":232,"won":96},"dribbles":{"attempts":33,"success":19,"past":null},"fouls":{"drawn":29,"committed":32},"cards":{"yellow":0,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":2,"missed":1,"saved":null}}]},{"player":{"id":855,"name":"Jo\u00e3o Pedro Cavaco Cancelo","firstname":"Jo\u00e3o Pedro","lastname":"Cavaco Cancelo","age":28,"birth":{"date":"1994-05-27","place":"Barreiro","country":"Portugal"},"nationality":"Portugal","height":"182 cm","weight":"74 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/855.png"},"statistics":[{"team":{"id":50,"name":"Manchester City","logo":"https:\/\/media.api-sports.io\/football\/teams\/50.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":36,"lineups":36,"minutes":3228,"number":null,"position":"Defender","rating":"7.302777","captain":false},"substitutes":{"in":0,"out":1,"bench":1},"shots":{"total":50,"on":23},"goals":{"total":1,"conceded":0,"assists":7,"saves":null},"passes":{"total":2951,"key":39,"accuracy":69},"tackles":{"total":83,"blocks":3,"interceptions":59},"duels":{"total":425,"won":222},"dribbles":{"attempts":106,"success":56,"past":null},"fouls":{"drawn":26,"committed":34},"cards":{"yellow":7,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":1485,"name":"Bruno Fernandes","firstname":"Bruno Miguel","lastname":"Borges Fernandes","age":28,"birth":{"date":"1994-09-08","place":"Maia","country":"Portugal"},"nationality":"Portugal","height":"179 cm","weight":"69 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/1485.png"},"statistics":[{"team":{"id":33,"name":"Manchester United","logo":"https:\/\/media.api-sports.io\/football\/teams\/33.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":36,"lineups":35,"minutes":3119,"number":null,"position":"Midfielder","rating":"7.272222","captain":false},"substitutes":{"in":1,"out":9,"bench":1},"shots":{"total":55,"on":29},"goals":{"total":10,"conceded":0,"assists":6,"saves":null},"passes":{"total":1901,"key":91,"accuracy":41},"tackles":{"total":54,"blocks":null,"interceptions":17},"duels":{"total":340,"won":146},"dribbles":{"attempts":52,"success":26,"past":null},"fouls":{"drawn":47,"committed":33},"cards":{"yellow":10,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":2,"saved":null}}]}]};
3 +
4 +for(var i = 0; i < 20; i++){
5 + console.log(topAssistJson.response[i].player.name + "|" + topAssistJson.response[i].statistics[0].team.name + "|" + topAssistJson.response[i].statistics[0].games.appearences + "|" + topAssistJson.response[i].statistics[0].goals.assists);
6 +}
7 +// 순위가 안 뜬다. 즉, for문에 돌려서 1부터 계산해도 되겠지만, 공동순위 같은 경우 해결 어려움.
8 +
9 +// 득점순위
10 +let topScorerJson = {"get":"players\/topscorers","parameters":{"league":"39","season":"2021"},"errors":[],"results":20,"paging":{"current":0,"total":1},"response":[{"player":{"id":186,"name":"Son Heung-Min","firstname":"Heung-Min","lastname":"Son","age":30,"birth":{"date":"1992-07-08","place":"Chuncheon","country":"Korea Republic"},"nationality":"Korea Republic","height":"183 cm","weight":"78 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/186.png"},"statistics":[{"team":{"id":47,"name":"Tottenham","logo":"https:\/\/media.api-sports.io\/football\/teams\/47.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":35,"lineups":35,"minutes":3021,"number":null,"position":"Midfielder","rating":"7.505714","captain":false},"substitutes":{"in":0,"out":15,"bench":0},"shots":{"total":69,"on":49},"goals":{"total":23,"conceded":0,"assists":7,"saves":null},"passes":{"total":1015,"key":73,"accuracy":25},"tackles":{"total":15,"blocks":6,"interceptions":13},"duels":{"total":270,"won":118},"dribbles":{"attempts":92,"success":51,"past":null},"fouls":{"drawn":36,"committed":14},"cards":{"yellow":2,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":306,"name":"Mohamed Salah Ghaly","firstname":"Mohamed","lastname":"Salah Ghaly","age":30,"birth":{"date":"1992-06-15","place":"Mu\u1e25\u0101fa\u1e93at al Gharbiyya","country":"Egypt"},"nationality":"Egypt","height":"175 cm","weight":"71 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/306.png"},"statistics":[{"team":{"id":40,"name":"Liverpool","logo":"https:\/\/media.api-sports.io\/football\/teams\/40.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":35,"lineups":30,"minutes":2762,"number":null,"position":"Attacker","rating":"7.391428","captain":false},"substitutes":{"in":5,"out":5,"bench":5},"shots":{"total":101,"on":60},"goals":{"total":23,"conceded":0,"assists":13,"saves":null},"passes":{"total":1079,"key":64,"accuracy":24},"tackles":{"total":17,"blocks":1,"interceptions":6},"duels":{"total":309,"won":100},"dribbles":{"attempts":124,"success":53,"past":null},"fouls":{"drawn":23,"committed":12},"cards":{"yellow":1,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":5,"missed":1,"saved":null}}]},{"player":{"id":874,"name":"Cristiano Ronaldo","firstname":"Cristiano Ronaldo","lastname":"dos Santos Aveiro","age":37,"birth":{"date":"1985-02-05","place":"Funchal","country":"Portugal"},"nationality":"Portugal","height":"187 cm","weight":"83 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/874.png"},"statistics":[{"team":{"id":33,"name":"Manchester United","logo":"https:\/\/media.api-sports.io\/football\/teams\/33.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":30,"lineups":27,"minutes":2459,"number":null,"position":"Attacker","rating":"7.260000","captain":false},"substitutes":{"in":3,"out":6,"bench":3},"shots":{"total":80,"on":43},"goals":{"total":18,"conceded":0,"assists":3,"saves":null},"passes":{"total":879,"key":26,"accuracy":24},"tackles":{"total":8,"blocks":null,"interceptions":2},"duels":{"total":217,"won":88},"dribbles":{"attempts":32,"success":20,"past":null},"fouls":{"drawn":18,"committed":16},"cards":{"yellow":8,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":3,"missed":0,"saved":null}}]},{"player":{"id":184,"name":"Harry Kane","firstname":"Harry","lastname":"Kane","age":29,"birth":{"date":"1993-07-28","place":"London","country":"England"},"nationality":"England","height":"188 cm","weight":"86 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/184.png"},"statistics":[{"team":{"id":47,"name":"Tottenham","logo":"https:\/\/media.api-sports.io\/football\/teams\/47.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":37,"lineups":36,"minutes":3232,"number":null,"position":"Attacker","rating":"7.378378","captain":false},"substitutes":{"in":1,"out":1,"bench":1},"shots":{"total":97,"on":55},"goals":{"total":17,"conceded":0,"assists":9,"saves":null},"passes":{"total":874,"key":53,"accuracy":16},"tackles":{"total":15,"blocks":8,"interceptions":3},"duels":{"total":437,"won":198},"dribbles":{"attempts":100,"success":54,"past":null},"fouls":{"drawn":54,"committed":42},"cards":{"yellow":5,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":4,"missed":0,"saved":null}}]},{"player":{"id":304,"name":"Sadio Man\u00e9","firstname":"Sadio","lastname":"Man\u00e9","age":30,"birth":{"date":"1992-04-10","place":"Sedhiou","country":"Senegal"},"nationality":"Senegal","height":"175 cm","weight":"69 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/304.png"},"statistics":[{"team":{"id":40,"name":"Liverpool","logo":"https:\/\/media.api-sports.io\/football\/teams\/40.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":34,"lineups":32,"minutes":2825,"number":null,"position":"Attacker","rating":"7.202941","captain":false},"substitutes":{"in":2,"out":7,"bench":2},"shots":{"total":66,"on":39},"goals":{"total":16,"conceded":0,"assists":2,"saves":null},"passes":{"total":1036,"key":43,"accuracy":23},"tackles":{"total":33,"blocks":1,"interceptions":8},"duels":{"total":361,"won":160},"dribbles":{"attempts":77,"success":47,"past":null},"fouls":{"drawn":50,"committed":50},"cards":{"yellow":5,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":629,"name":"K. De Bruyne","firstname":"Kevin","lastname":"De Bruyne","age":31,"birth":{"date":"1991-06-28","place":"Drongen","country":"Belgium"},"nationality":"Belgium","height":"181 cm","weight":"68 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/629.png"},"statistics":[{"team":{"id":50,"name":"Manchester City","logo":"https:\/\/media.api-sports.io\/football\/teams\/50.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":30,"lineups":25,"minutes":2205,"number":null,"position":"Midfielder","rating":"7.780000","captain":false},"substitutes":{"in":5,"out":9,"bench":8},"shots":{"total":56,"on":31},"goals":{"total":15,"conceded":0,"assists":8,"saves":null},"passes":{"total":1358,"key":87,"accuracy":37},"tackles":{"total":32,"blocks":2,"interceptions":6},"duels":{"total":209,"won":101},"dribbles":{"attempts":55,"success":31,"past":null},"fouls":{"drawn":27,"committed":21},"cards":{"yellow":2,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":2678,"name":"Diogo Jota","firstname":"Diogo Jos\u00e9","lastname":"Teixeira da Silva","age":26,"birth":{"date":"1996-12-04","place":"Massarelos","country":"Portugal"},"nationality":"Portugal","height":"178 cm","weight":"68 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/2678.png"},"statistics":[{"team":{"id":40,"name":"Liverpool","logo":"https:\/\/media.api-sports.io\/football\/teams\/40.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":35,"lineups":27,"minutes":2373,"number":null,"position":"Attacker","rating":"7.028571","captain":false},"substitutes":{"in":8,"out":17,"bench":9},"shots":{"total":71,"on":33},"goals":{"total":15,"conceded":0,"assists":4,"saves":null},"passes":{"total":744,"key":41,"accuracy":15},"tackles":{"total":39,"blocks":2,"interceptions":6},"duels":{"total":384,"won":143},"dribbles":{"attempts":69,"success":27,"past":null},"fouls":{"drawn":40,"committed":41},"cards":{"yellow":3,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":18788,"name":"Jamie Vardy","firstname":"Jamie","lastname":"Vardy","age":35,"birth":{"date":"1987-01-11","place":"Sheffield","country":"England"},"nationality":"England","height":"179 cm","weight":"74 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/18788.png"},"statistics":[{"team":{"id":46,"name":"Leicester","logo":"https:\/\/media.api-sports.io\/football\/teams\/46.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":25,"lineups":20,"minutes":1806,"number":null,"position":"Attacker","rating":"7.104000","captain":false},"substitutes":{"in":5,"out":5,"bench":7},"shots":{"total":47,"on":26},"goals":{"total":15,"conceded":0,"assists":2,"saves":null},"passes":{"total":251,"key":18,"accuracy":7},"tackles":{"total":6,"blocks":null,"interceptions":1},"duels":{"total":141,"won":51},"dribbles":{"attempts":22,"success":9,"past":null},"fouls":{"drawn":12,"committed":13},"cards":{"yellow":2,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":3247,"name":"Wilfried Zaha","firstname":"Wilfried","lastname":"Zaha","age":30,"birth":{"date":"1992-11-10","place":"Abidjan","country":"C\u00f4te d'Ivoire"},"nationality":"C\u00f4te d'Ivoire","height":"180 cm","weight":"66 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/3247.png"},"statistics":[{"team":{"id":52,"name":"Crystal Palace","logo":"https:\/\/media.api-sports.io\/football\/teams\/52.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":33,"lineups":31,"minutes":2761,"number":null,"position":"Attacker","rating":"6.960606","captain":false},"substitutes":{"in":2,"out":2,"bench":2},"shots":{"total":51,"on":32},"goals":{"total":14,"conceded":0,"assists":1,"saves":null},"passes":{"total":909,"key":47,"accuracy":22},"tackles":{"total":40,"blocks":null,"interceptions":5},"duels":{"total":506,"won":228},"dribbles":{"attempts":152,"success":75,"past":null},"fouls":{"drawn":101,"committed":37},"cards":{"yellow":5,"yellowred":1,"red":0},"penalty":{"won":null,"commited":null,"scored":5,"missed":2,"saved":null}}]},{"player":{"id":645,"name":"Raheem Sterling","firstname":"Raheem","lastname":"Sterling","age":28,"birth":{"date":"1994-12-08","place":"Kingston","country":"Jamaica"},"nationality":"England","height":"170 cm","weight":"69 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/645.png"},"statistics":[{"team":{"id":50,"name":"Manchester City","logo":"https:\/\/media.api-sports.io\/football\/teams\/50.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":30,"lineups":23,"minutes":2127,"number":null,"position":"Attacker","rating":"7.036666","captain":false},"substitutes":{"in":7,"out":6,"bench":14},"shots":{"total":46,"on":28},"goals":{"total":13,"conceded":0,"assists":5,"saves":null},"passes":{"total":820,"key":42,"accuracy":23},"tackles":{"total":23,"blocks":null,"interceptions":12},"duels":{"total":278,"won":117},"dribbles":{"attempts":112,"success":53,"past":null},"fouls":{"drawn":37,"committed":19},"cards":{"yellow":1,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":2,"missed":1,"saved":null}}]},{"player":{"id":19428,"name":"J. Bowen","firstname":"Jarrod","lastname":"Bowen","age":26,"birth":{"date":"1996-12-20","place":"Leominster","country":"England"},"nationality":"England","height":null,"weight":null,"injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/19428.png"},"statistics":[{"team":{"id":48,"name":"West Ham","logo":"https:\/\/media.api-sports.io\/football\/teams\/48.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":36,"lineups":34,"minutes":2993,"number":null,"position":"Attacker","rating":"7.033333","captain":false},"substitutes":{"in":2,"out":12,"bench":2},"shots":{"total":56,"on":34},"goals":{"total":12,"conceded":0,"assists":10,"saves":null},"passes":{"total":714,"key":42,"accuracy":15},"tackles":{"total":36,"blocks":2,"interceptions":21},"duels":{"total":370,"won":167},"dribbles":{"attempts":88,"success":50,"past":null},"fouls":{"drawn":43,"committed":25},"cards":{"yellow":6,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":18784,"name":"J. Maddison","firstname":"James","lastname":"Maddison","age":26,"birth":{"date":"1996-11-23","place":"Coventry","country":"England"},"nationality":"England","height":"175 cm","weight":"73 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/18784.png"},"statistics":[{"team":{"id":46,"name":"Leicester","logo":"https:\/\/media.api-sports.io\/football\/teams\/46.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":35,"lineups":28,"minutes":2466,"number":null,"position":"Midfielder","rating":"7.302857","captain":false},"substitutes":{"in":7,"out":14,"bench":7},"shots":{"total":54,"on":34},"goals":{"total":12,"conceded":0,"assists":8,"saves":null},"passes":{"total":955,"key":49,"accuracy":22},"tackles":{"total":40,"blocks":3,"interceptions":11},"duels":{"total":254,"won":140},"dribbles":{"attempts":48,"success":31,"past":null},"fouls":{"drawn":64,"committed":22},"cards":{"yellow":3,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":0,"saved":null}}]},{"player":{"id":19974,"name":"I. Toney","firstname":"Ivan","lastname":"Toney","age":26,"birth":{"date":"1996-03-16","place":"Northampton","country":"England"},"nationality":"England","height":"179 cm","weight":"65 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/19974.png"},"statistics":[{"team":{"id":55,"name":"Brentford","logo":"https:\/\/media.api-sports.io\/football\/teams\/55.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":33,"lineups":32,"minutes":2908,"number":null,"position":"Attacker","rating":"7.339393","captain":false},"substitutes":{"in":1,"out":0,"bench":1},"shots":{"total":64,"on":30},"goals":{"total":12,"conceded":0,"assists":5,"saves":null},"passes":{"total":733,"key":43,"accuracy":13},"tackles":{"total":33,"blocks":2,"interceptions":14},"duels":{"total":540,"won":284},"dribbles":{"attempts":50,"success":24,"past":null},"fouls":{"drawn":80,"committed":50},"cards":{"yellow":8,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":5,"missed":0,"saved":null}}]},{"player":{"id":19220,"name":"M. Mount","firstname":"Mason","lastname":"Mount","age":23,"birth":{"date":"1999-01-10","place":"Portsmouth","country":"England"},"nationality":"England","height":"178 cm","weight":"70 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/19220.png"},"statistics":[{"team":{"id":49,"name":"Chelsea","logo":"https:\/\/media.api-sports.io\/football\/teams\/49.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":32,"lineups":27,"minutes":2365,"number":null,"position":"Midfielder","rating":"7.443750","captain":false},"substitutes":{"in":5,"out":7,"bench":8},"shots":{"total":55,"on":29},"goals":{"total":11,"conceded":0,"assists":10,"saves":null},"passes":{"total":1115,"key":58,"accuracy":29},"tackles":{"total":41,"blocks":1,"interceptions":13},"duels":{"total":230,"won":88},"dribbles":{"attempts":42,"success":18,"past":null},"fouls":{"drawn":23,"committed":30},"cards":{"yellow":4,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":1,"missed":0,"saved":null}}]},{"player":{"id":19366,"name":"O. Watkins","firstname":"Ollie","lastname":"Watkins","age":27,"birth":{"date":"1995-12-30","place":"Torbay","country":"England"},"nationality":"England","height":"180 cm","weight":"70 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/19366.png"},"statistics":[{"team":{"id":66,"name":"Aston Villa","logo":"https:\/\/media.api-sports.io\/football\/teams\/66.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":35,"lineups":33,"minutes":2955,"number":null,"position":"Attacker","rating":"6.891428","captain":false},"substitutes":{"in":2,"out":5,"bench":2},"shots":{"total":52,"on":32},"goals":{"total":11,"conceded":0,"assists":2,"saves":null},"passes":{"total":674,"key":35,"accuracy":13},"tackles":{"total":17,"blocks":3,"interceptions":12},"duels":{"total":382,"won":158},"dribbles":{"attempts":68,"success":37,"past":null},"fouls":{"drawn":39,"committed":33},"cards":{"yellow":7,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":1,"missed":0,"saved":null}}]},{"player":{"id":1460,"name":"B. Saka","firstname":"Bukayo","lastname":"Saka","age":21,"birth":{"date":"2001-09-05","place":"London","country":"England"},"nationality":"England","height":"178 cm","weight":"65 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/1460.png"},"statistics":[{"team":{"id":42,"name":"Arsenal","logo":"https:\/\/media.api-sports.io\/football\/teams\/42.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":38,"lineups":36,"minutes":2996,"number":null,"position":"Attacker","rating":"6.989473","captain":false},"substitutes":{"in":2,"out":20,"bench":2},"shots":{"total":58,"on":31},"goals":{"total":11,"conceded":0,"assists":7,"saves":null},"passes":{"total":1062,"key":69,"accuracy":22},"tackles":{"total":40,"blocks":2,"interceptions":22},"duels":{"total":371,"won":165},"dribbles":{"attempts":102,"success":43,"past":null},"fouls":{"drawn":59,"committed":39},"cards":{"yellow":6,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":2,"missed":0,"saved":null}}]},{"player":{"id":19085,"name":"Teemu Eino Antero Pukki","firstname":"Teemu Eino Antero","lastname":"Pukki","age":32,"birth":{"date":"1990-03-29","place":"Kotka","country":"Finland"},"nationality":"Finland","height":"180 cm","weight":"75 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/19085.png"},"statistics":[{"team":{"id":71,"name":"Norwich","logo":"https:\/\/media.api-sports.io\/football\/teams\/71.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":37,"lineups":37,"minutes":3261,"number":null,"position":"Attacker","rating":"6.724324","captain":false},"substitutes":{"in":0,"out":8,"bench":0},"shots":{"total":51,"on":27},"goals":{"total":11,"conceded":0,"assists":3,"saves":null},"passes":{"total":524,"key":27,"accuracy":10},"tackles":{"total":23,"blocks":1,"interceptions":4},"duels":{"total":290,"won":90},"dribbles":{"attempts":60,"success":27,"past":null},"fouls":{"drawn":25,"committed":31},"cards":{"yellow":4,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":3,"missed":0,"saved":null}}]},{"player":{"id":635,"name":"Riyad Mahrez","firstname":"Riyad","lastname":"Mahrez","age":31,"birth":{"date":"1991-02-21","place":"Sarcelles","country":"France"},"nationality":"Algeria","height":"179 cm","weight":"67 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/635.png"},"statistics":[{"team":{"id":50,"name":"Manchester City","logo":"https:\/\/media.api-sports.io\/football\/teams\/50.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":28,"lineups":15,"minutes":1491,"number":null,"position":"Attacker","rating":"7.260714","captain":false},"substitutes":{"in":13,"out":5,"bench":21},"shots":{"total":44,"on":23},"goals":{"total":11,"conceded":0,"assists":5,"saves":null},"passes":{"total":826,"key":40,"accuracy":26},"tackles":{"total":11,"blocks":1,"interceptions":6},"duels":{"total":142,"won":60},"dribbles":{"attempts":50,"success":26,"past":null},"fouls":{"drawn":15,"committed":10},"cards":{"yellow":0,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":4,"missed":1,"saved":null}}]},{"player":{"id":1496,"name":"Raphinha","firstname":"Raphael","lastname":"Dias Belloli","age":26,"birth":{"date":"1996-12-14","place":"Porto Alegre","country":"Brazil"},"nationality":"Brazil","height":"176 cm","weight":"58 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/1496.png"},"statistics":[{"team":{"id":63,"name":"Leeds","logo":"https:\/\/media.api-sports.io\/football\/teams\/63.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":35,"lineups":34,"minutes":2922,"number":null,"position":"Attacker","rating":"6.954285","captain":false},"substitutes":{"in":1,"out":8,"bench":1},"shots":{"total":62,"on":25},"goals":{"total":11,"conceded":0,"assists":3,"saves":null},"passes":{"total":1074,"key":67,"accuracy":21},"tackles":{"total":51,"blocks":null,"interceptions":29},"duels":{"total":420,"won":182},"dribbles":{"attempts":146,"success":62,"past":null},"fouls":{"drawn":47,"committed":40},"cards":{"yellow":7,"yellowred":0,"red":0},"penalty":{"won":null,"commited":null,"scored":4,"missed":0,"saved":null}}]},{"player":{"id":18819,"name":"Michail Gregory Antonio","firstname":"Michail Gregory","lastname":"Antonio","age":32,"birth":{"date":"1990-03-28","place":"London","country":"England"},"nationality":"Jamaica","height":"180 cm","weight":"82 kg","injured":false,"photo":"https:\/\/media.api-sports.io\/football\/players\/18819.png"},"statistics":[{"team":{"id":48,"name":"West Ham","logo":"https:\/\/media.api-sports.io\/football\/teams\/48.png"},"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021},"games":{"appearences":36,"lineups":34,"minutes":2980,"number":null,"position":"Attacker","rating":"6.966666","captain":false},"substitutes":{"in":2,"out":10,"bench":3},"shots":{"total":59,"on":29},"goals":{"total":10,"conceded":0,"assists":8,"saves":null},"passes":{"total":615,"key":46,"accuracy":11},"tackles":{"total":23,"blocks":1,"interceptions":3},"duels":{"total":489,"won":204},"dribbles":{"attempts":93,"success":50,"past":null},"fouls":{"drawn":52,"committed":50},"cards":{"yellow":7,"yellowred":1,"red":0},"penalty":{"won":null,"commited":null,"scored":0,"missed":1,"saved":null}}]}]};
11 +
12 +for(var i = 0; i < 20; i++){
13 + console.log(topScorerJson.response[i].player.name + "|" + topScorerJson.response[i].statistics[0].team.name + "|" + topScorerJson.response[i].statistics[0].games.appearences + "|" + topScorerJson.response[i].statistics[0].goals.total);
14 +}
15 +// 순위가 안 뜬다. 즉, for문에 돌려서 1부터 계산해도 되겠지만, 공동순위 같은 경우 해결 어려움.
16 +
17 +// 정규리그순위
18 +let standingJson = {"get":"standings","parameters":{"league":"39","season":"2021"},"errors":[],"results":1,"paging":{"current":1,"total":1},"response":[{"league":{"id":39,"name":"Premier League","country":"England","logo":"https:\/\/media.api-sports.io\/football\/leagues\/39.png","flag":"https:\/\/media.api-sports.io\/flags\/gb.svg","season":2021,"standings":[[{"rank":1,"team":{"id":50,"name":"Manchester City","logo":"https:\/\/media.api-sports.io\/football\/teams\/50.png"},"points":93,"goalsDiff":73,"group":"Premier League","form":"WDWWW","status":"same","description":"Promotion - Champions League (Group Stage)","all":{"played":38,"win":29,"draw":6,"lose":3,"goals":{"for":99,"against":26}},"home":{"played":19,"win":15,"draw":2,"lose":2,"goals":{"for":58,"against":15}},"away":{"played":19,"win":14,"draw":4,"lose":1,"goals":{"for":41,"against":11}},"update":"2022-05-22T00:00:00+00:00"},{"rank":2,"team":{"id":40,"name":"Liverpool","logo":"https:\/\/media.api-sports.io\/football\/teams\/40.png"},"points":92,"goalsDiff":68,"group":"Premier League","form":"WWWDW","status":"same","description":"Promotion - Champions League (Group Stage)","all":{"played":38,"win":28,"draw":8,"lose":2,"goals":{"for":94,"against":26}},"home":{"played":19,"win":15,"draw":4,"lose":0,"goals":{"for":49,"against":9}},"away":{"played":19,"win":13,"draw":4,"lose":2,"goals":{"for":45,"against":17}},"update":"2022-05-22T00:00:00+00:00"},{"rank":3,"team":{"id":49,"name":"Chelsea","logo":"https:\/\/media.api-sports.io\/football\/teams\/49.png"},"points":74,"goalsDiff":43,"group":"Premier League","form":"WDWDL","status":"same","description":"Promotion - Champions League (Group Stage)","all":{"played":38,"win":21,"draw":11,"lose":6,"goals":{"for":76,"against":33}},"home":{"played":19,"win":9,"draw":7,"lose":3,"goals":{"for":37,"against":22}},"away":{"played":19,"win":12,"draw":4,"lose":3,"goals":{"for":39,"against":11}},"update":"2022-05-22T00:00:00+00:00"},{"rank":4,"team":{"id":47,"name":"Tottenham","logo":"https:\/\/media.api-sports.io\/football\/teams\/47.png"},"points":71,"goalsDiff":29,"group":"Premier League","form":"WWWDW","status":"same","description":"Promotion - Champions League (Group Stage)","all":{"played":38,"win":22,"draw":5,"lose":11,"goals":{"for":69,"against":40}},"home":{"played":19,"win":13,"draw":1,"lose":5,"goals":{"for":38,"against":19}},"away":{"played":19,"win":9,"draw":4,"lose":6,"goals":{"for":31,"against":21}},"update":"2022-05-22T00:00:00+00:00"},{"rank":5,"team":{"id":42,"name":"Arsenal","logo":"https:\/\/media.api-sports.io\/football\/teams\/42.png"},"points":69,"goalsDiff":13,"group":"Premier League","form":"WLLWW","status":"same","description":"Promotion - Europa League (Group Stage)","all":{"played":38,"win":22,"draw":3,"lose":13,"goals":{"for":61,"against":48}},"home":{"played":19,"win":13,"draw":2,"lose":4,"goals":{"for":35,"against":17}},"away":{"played":19,"win":9,"draw":1,"lose":9,"goals":{"for":26,"against":31}},"update":"2022-05-22T00:00:00+00:00"},{"rank":6,"team":{"id":33,"name":"Manchester United","logo":"https:\/\/media.api-sports.io\/football\/teams\/33.png"},"points":58,"goalsDiff":0,"group":"Premier League","form":"LLWDL","status":"same","description":"Promotion - Europa League (Group Stage)","all":{"played":38,"win":16,"draw":10,"lose":12,"goals":{"for":57,"against":57}},"home":{"played":19,"win":10,"draw":5,"lose":4,"goals":{"for":32,"against":22}},"away":{"played":19,"win":6,"draw":5,"lose":8,"goals":{"for":25,"against":35}},"update":"2022-05-22T00:00:00+00:00"},{"rank":7,"team":{"id":48,"name":"West Ham","logo":"https:\/\/media.api-sports.io\/football\/teams\/48.png"},"points":56,"goalsDiff":9,"group":"Premier League","form":"LDWLL","status":"same","description":"Promotion - Europa Conference League (Qualification)","all":{"played":38,"win":16,"draw":8,"lose":14,"goals":{"for":60,"against":51}},"home":{"played":19,"win":9,"draw":5,"lose":5,"goals":{"for":33,"against":26}},"away":{"played":19,"win":7,"draw":3,"lose":9,"goals":{"for":27,"against":25}},"update":"2022-05-22T00:00:00+00:00"},{"rank":8,"team":{"id":46,"name":"Leicester","logo":"https:\/\/media.api-sports.io\/football\/teams\/46.png"},"points":52,"goalsDiff":3,"group":"Premier League","form":"WDWWL","status":"same","description":null,"all":{"played":38,"win":14,"draw":10,"lose":14,"goals":{"for":62,"against":59}},"home":{"played":19,"win":10,"draw":4,"lose":5,"goals":{"for":34,"against":23}},"away":{"played":19,"win":4,"draw":6,"lose":9,"goals":{"for":28,"against":36}},"update":"2022-05-22T00:00:00+00:00"},{"rank":9,"team":{"id":51,"name":"Brighton","logo":"https:\/\/media.api-sports.io\/football\/teams\/51.png"},"points":51,"goalsDiff":-2,"group":"Premier League","form":"WDWWD","status":"same","description":null,"all":{"played":38,"win":12,"draw":15,"lose":11,"goals":{"for":42,"against":44}},"home":{"played":19,"win":5,"draw":7,"lose":7,"goals":{"for":19,"against":23}},"away":{"played":19,"win":7,"draw":8,"lose":4,"goals":{"for":23,"against":21}},"update":"2022-05-22T00:00:00+00:00"},{"rank":10,"team":{"id":39,"name":"Wolves","logo":"https:\/\/media.api-sports.io\/football\/teams\/39.png"},"points":51,"goalsDiff":-5,"group":"Premier League","form":"LDLDL","status":"same","description":null,"all":{"played":38,"win":15,"draw":6,"lose":17,"goals":{"for":38,"against":43}},"home":{"played":19,"win":7,"draw":3,"lose":9,"goals":{"for":20,"against":25}},"away":{"played":19,"win":8,"draw":3,"lose":8,"goals":{"for":18,"against":18}},"update":"2022-05-22T00:00:00+00:00"},{"rank":11,"team":{"id":34,"name":"Newcastle","logo":"https:\/\/media.api-sports.io\/football\/teams\/34.png"},"points":49,"goalsDiff":-18,"group":"Premier League","form":"WWLLW","status":"same","description":null,"all":{"played":38,"win":13,"draw":10,"lose":15,"goals":{"for":44,"against":62}},"home":{"played":19,"win":8,"draw":6,"lose":5,"goals":{"for":26,"against":27}},"away":{"played":19,"win":5,"draw":4,"lose":10,"goals":{"for":18,"against":35}},"update":"2022-05-22T00:00:00+00:00"},{"rank":12,"team":{"id":52,"name":"Crystal Palace","logo":"https:\/\/media.api-sports.io\/football\/teams\/52.png"},"points":48,"goalsDiff":4,"group":"Premier League","form":"WLDWW","status":"same","description":null,"all":{"played":38,"win":11,"draw":15,"lose":12,"goals":{"for":50,"against":46}},"home":{"played":19,"win":7,"draw":8,"lose":4,"goals":{"for":27,"against":17}},"away":{"played":19,"win":4,"draw":7,"lose":8,"goals":{"for":23,"against":29}},"update":"2022-05-22T00:00:00+00:00"},{"rank":13,"team":{"id":55,"name":"Brentford","logo":"https:\/\/media.api-sports.io\/football\/teams\/55.png"},"points":46,"goalsDiff":-8,"group":"Premier League","form":"LWWLD","status":"same","description":null,"all":{"played":38,"win":13,"draw":7,"lose":18,"goals":{"for":48,"against":56}},"home":{"played":19,"win":7,"draw":3,"lose":9,"goals":{"for":22,"against":21}},"away":{"played":19,"win":6,"draw":4,"lose":9,"goals":{"for":26,"against":35}},"update":"2022-05-22T00:00:00+00:00"},{"rank":14,"team":{"id":66,"name":"Aston Villa","logo":"https:\/\/media.api-sports.io\/football\/teams\/66.png"},"points":45,"goalsDiff":-2,"group":"Premier League","form":"LDDLW","status":"same","description":null,"all":{"played":38,"win":13,"draw":6,"lose":19,"goals":{"for":52,"against":54}},"home":{"played":19,"win":6,"draw":5,"lose":8,"goals":{"for":29,"against":29}},"away":{"played":19,"win":7,"draw":1,"lose":11,"goals":{"for":23,"against":25}},"update":"2022-05-22T00:00:00+00:00"},{"rank":15,"team":{"id":41,"name":"Southampton","logo":"https:\/\/media.api-sports.io\/football\/teams\/41.png"},"points":40,"goalsDiff":-24,"group":"Premier League","form":"LLLLD","status":"same","description":null,"all":{"played":38,"win":9,"draw":13,"lose":16,"goals":{"for":43,"against":67}},"home":{"played":19,"win":6,"draw":7,"lose":6,"goals":{"for":23,"against":24}},"away":{"played":19,"win":3,"draw":6,"lose":10,"goals":{"for":20,"against":43}},"update":"2022-05-22T00:00:00+00:00"},{"rank":16,"team":{"id":45,"name":"Everton","logo":"https:\/\/media.api-sports.io\/football\/teams\/45.png"},"points":39,"goalsDiff":-23,"group":"Premier League","form":"LWLDW","status":"same","description":null,"all":{"played":38,"win":11,"draw":6,"lose":21,"goals":{"for":43,"against":66}},"home":{"played":19,"win":9,"draw":2,"lose":8,"goals":{"for":27,"against":25}},"away":{"played":19,"win":2,"draw":4,"lose":13,"goals":{"for":16,"against":41}},"update":"2022-05-22T00:00:00+00:00"},{"rank":17,"team":{"id":63,"name":"Leeds","logo":"https:\/\/media.api-sports.io\/football\/teams\/63.png"},"points":38,"goalsDiff":-37,"group":"Premier League","form":"WDLLL","status":"same","description":null,"all":{"played":38,"win":9,"draw":11,"lose":18,"goals":{"for":42,"against":79}},"home":{"played":19,"win":4,"draw":6,"lose":9,"goals":{"for":19,"against":38}},"away":{"played":19,"win":5,"draw":5,"lose":9,"goals":{"for":23,"against":41}},"update":"2022-05-22T00:00:00+00:00"},{"rank":18,"team":{"id":44,"name":"Burnley","logo":"https:\/\/media.api-sports.io\/football\/teams\/44.png"},"points":35,"goalsDiff":-19,"group":"Premier League","form":"LDLLW","status":"same","description":"Relegation - Championship","all":{"played":38,"win":7,"draw":14,"lose":17,"goals":{"for":34,"against":53}},"home":{"played":19,"win":5,"draw":6,"lose":8,"goals":{"for":18,"against":25}},"away":{"played":19,"win":2,"draw":8,"lose":9,"goals":{"for":16,"against":28}},"update":"2022-05-22T00:00:00+00:00"},{"rank":19,"team":{"id":38,"name":"Watford","logo":"https:\/\/media.api-sports.io\/football\/teams\/38.png"},"points":23,"goalsDiff":-43,"group":"Premier League","form":"LLDLL","status":"same","description":"Relegation - Championship","all":{"played":38,"win":6,"draw":5,"lose":27,"goals":{"for":34,"against":77}},"home":{"played":19,"win":2,"draw":2,"lose":15,"goals":{"for":17,"against":46}},"away":{"played":19,"win":4,"draw":3,"lose":12,"goals":{"for":17,"against":31}},"update":"2022-05-22T00:00:00+00:00"},{"rank":20,"team":{"id":71,"name":"Norwich","logo":"https:\/\/media.api-sports.io\/football\/teams\/71.png"},"points":22,"goalsDiff":-61,"group":"Premier League","form":"LDLLL","status":"same","description":"Relegation - Championship","all":{"played":38,"win":5,"draw":7,"lose":26,"goals":{"for":23,"against":84}},"home":{"played":19,"win":3,"draw":3,"lose":13,"goals":{"for":12,"against":43}},"away":{"played":19,"win":2,"draw":4,"lose":13,"goals":{"for":11,"against":41}},"update":"2022-05-22T00:00:00+00:00"}]]}}]};
19 +
20 +// console.log(standingJson);
21 +// console.log(standingJson.response[0]);
22 +// console.log(standingJson.response[0].league);
23 +for(var i = 0; i < 20; i++){
24 + console.log(standingJson.response[0].league.standings[0][i].rank + "|" + standingJson.response[0].league.standings[0][i].team.name + "|" + standingJson.response[0].league.standings[0][i].all.played + "|" + standingJson.response[0].league.standings[0][i].points + "|" + standingJson.response[0].league.standings[0][i].all.win + "|" + standingJson.response[0].league.standings[0][i].all.draw + "|" + standingJson.response[0].league.standings[0][i].all.lose + "|" + standingJson.response[0].league.standings[0][i].all.goals.for + "|" + standingJson.response[0].league.standings[0][i].all.goals.against);
25 +}
26 +// 득실차 값이 api에 없음
...\ No newline at end of file ...\ No newline at end of file