Toggle navigation
Toggle navigation
This project
Loading...
Sign in
박찬수
/
enjoy_soccer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박찬수
2022-06-09 05:06:07 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
a632fd2973c9b298df020d9a31f2aafde4a68238
a632fd29
2 parents
94aa9ed4
3b78d7b7
번역기능 수정
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
appfunctions.js
printjsonparsing.js
appfunctions.js
View file @
a632fd2
...
...
@@ -16,7 +16,7 @@ function GetGameSchedule(teamID, leagueID, season, eventObj){
});
}
// 입력: 리그ID, 반환: 팀 순위
// 입력: 리그ID,
시즌(*필수)
반환: 팀 순위
function
GetLeagueStanding
(
leagueID
,
season
){
var
request
=
require
(
"request"
);
var
options
=
{
...
...
@@ -42,13 +42,13 @@ function GetLeagueStanding(leagueID, season){
});
}
// 입력: 리그ID, 반환: (선수) 득점 순위
function
GetTopScorer
(
season
){
// 입력: 리그ID
(*필수), 시즌(*필수)
, 반환: (선수) 득점 순위
function
GetTopScorer
(
leagueID
,
season
){
var
request
=
require
(
"request"
);
var
options
=
{
method
:
'GET'
,
url
:
'https://v3.football.api-sports.io/players/topscorers'
,
qs
:
{
season
:
season
},
qs
:
{
league
:
leagueID
,
season
:
season
},
headers
:
{
'x-rapidapi-host'
:
'v3.football.api-sports.io'
,
'x-rapidapi-key'
:
'526fc70a2e8b315e9a960ac4b4764191'
...
...
@@ -60,13 +60,13 @@ function GetTopScorer(season){
});
}
// 입력: 리그ID, 반환: 도움 순위
function
GetTopAssist
(
season
){
// 입력: 리그ID
(*필수), 시즌(*필수)
, 반환: 도움 순위
function
GetTopAssist
(
leagueID
,
season
){
var
request
=
require
(
"request"
);
var
options
=
{
method
:
'GET'
,
url
:
'https://v3.football.api-sports.io/players/topassists'
,
qs
:
{
season
:
season
},
qs
:
{
league
:
leagueID
,
season
:
season
},
headers
:
{
'x-rapidapi-host'
:
'v3.football.api-sports.io'
,
'x-rapidapi-key'
:
'526fc70a2e8b315e9a960ac4b4764191'
...
...
@@ -132,4 +132,3 @@ function GetTeamStanding(teamID, season){
});
}
GetLeagueStanding
(
39
,
2021
);
...
...
printjsonparsing.js
0 → 100644
View file @
a632fd2
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment