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
Ga Min Cha
2022-06-08 17:14:14 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f60c1106e4f6a46b4096ddc31854c320a6a49a2d
f60c1106
1 parent
04894603
Upload appfunctions.js
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
appfunctions.js
appfunctions.js
0 → 100644
View file @
f60c110
function
GetGameSchedule
(
teamID
,
season
,
eventObj
){
var
request
=
require
(
"request"
);
var
options
=
{
method
:
'GET'
,
url
:
'https://v3.football.api-sports.io/fixtures'
,
qs
:
{
team
:
teamID
,
season
:
season
},
headers
:
{
'x-rapidapi-host'
:
'v3.football.api-sports.io'
,
'x-rapidapi-key'
:
'526fc70a2e8b315e9a960ac4b4764191'
}
};
request
(
options
,
function
(
error
,
response
,
body
)
{
if
(
error
)
throw
new
Error
(
error
);
console
.
log
(
body
);
});
}
\ No newline at end of file
Please
register
or
login
to post a comment