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-04 21:59:02 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
73ede12a63b3f75cf7bda1c21c9a2a6e9861ed76
73ede12a
1 parent
a21537f0
soccer
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
soccer.js
soccer.js
View file @
73ede12
var
request
=
require
(
'request'
);
var
options
=
{
method
:
'GET'
,
url
:
'https://v3.football.api-sports.io/players'
,
qs
:
{
id
:
'276'
,
season
:
'2019'
},
headers
:
{
'x-rapidapi-host'
:
'v3.football.api-sports.io'
,
'x-rapidapi-key'
:
'526fc70a2e8b315e9a960ac4b4764191'
}
};
request
(
options
,
function
(
error
,
response
)
{
if
(
error
)
throw
new
Error
(
error
);
console
.
log
(
response
.
body
);
});
module
.
exports
=
{
GetPlayerInfo
:
function
(
playerID
,
season
){
var
request
=
require
(
'request'
);
...
...
Please
register
or
login
to post a comment