Showing
1 changed file
with
11 additions
and
2 deletions
1 | - | 1 | +//============================================================= |
2 | +var express = require('express'); | ||
3 | +const request = require('request'); | ||
4 | +const config = require('./config.json'); | ||
5 | +//============================================================= | ||
6 | +const LINE_URL = 'https://api.line.me/v2/bot/message/reply' | ||
7 | +const TOKEN = config.TOKEN; | ||
8 | +const BOXOFFICE_URL = 'http://www.kobis.or.kr/kobisopenapi/webservice/rest/boxoffice/searchDailyBoxOfficeList.json' | ||
9 | +const KOFIC_KEY = config.KOFIC_KEY; | ||
10 | +//============================================================= | ||
2 | 11 | ||
3 | // 어제 기준 영화 순위(1위 ~ 5위) 출력 | 12 | // 어제 기준 영화 순위(1위 ~ 5위) 출력 |
4 | exports.ShowYesterdayRank = function(replyToken) { | 13 | exports.ShowYesterdayRank = function(replyToken) { |
5 | 14 | ||
6 | - var yesterday = GetYesterday(); | 15 | + var yesterday = exports.GetYesterday(); |
7 | 16 | ||
8 | request.get( | 17 | request.get( |
9 | { | 18 | { | ... | ... |
-
Please register or login to post a comment