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:19:47 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
69932ff6851701d9ad6093e3368e8ca7d025880d
69932ff6
1 parent
a0f2ce7c
reply soccer
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
reply.js
soccer.js
reply.js
View file @
69932ff
...
...
@@ -28,7 +28,7 @@ app.post('/hook', function (req, res) {
console
.
log
(
'[request message]'
,
eventObj
.
message
);
console
.
log
(
"Receive Message : "
,
eventObj
.
message
.
text
);
console
.
log
(
soccer
.
GetPlayerInfo
(
33
,
2019
));
console
.
log
(
soccer
.
GetPlayerInfo
(
276
,
2019
));
request
.
post
(
{
...
...
soccer.js
View file @
69932ff
...
...
@@ -22,7 +22,7 @@ module.exports = function(){
var
options
=
{
method
:
'GET'
,
url
:
'https://v3.football.api-sports.io/players'
,
qs
:
{
id
:
'276'
,
season
:
'2019'
},
qs
:
{
id
:
playerID
,
season
:
season
},
headers
:
{
'x-rapidapi-host'
:
'v3.football.api-sports.io'
,
'x-rapidapi-key'
:
'526fc70a2e8b315e9a960ac4b4764191'
...
...
Please
register
or
login
to post a comment