박찬수

reply soccer

......@@ -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(
{
......
......@@ -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'
......