Goal: Develop API Service using Flask and SQLite DB
POST /register/account
Register account of this Service
Parameters
- id : ID of Account
- pw : Password of Account
- email : E-mail of Account
Return
- account_id : unique account ID
- status_msg : result msg
Result msg
- 200 : SUCCESS
- 403 : ACCOUNT_EXIST
POST /register/apikey
Register API Key using account
Parameters
- account_id : ID of account
Return
- api_key : API Key
- status_msg : result msg
Result msg
- 200 : SUCCESS
- 403 : APIKEY_ALREADY_EXIST
POST /search/instagram
Get Instagram Image from Account
Parameters
- api_key : API KEY
- account_name : account name of Instagram
Return
- account_name : id of instagram account name
- url_list : list of instagram image url list
Result msg
- 200 : SUCCESS
- 404 : APIKEY_NOTFOUND
- 403 : APIKEY_EXPIRED
POST /search/haksik/chan
Get Chan Skylounge menu
Parameters
- api_key : API KEY
- date : date of chan skylounge
Return
- lunch_list : Lunch list
- dinner_list : Dinner list
Result msg
- 200 : SUCCESS
- 404 : APIKEY_NOTFOUND
- 403 : APIKEY_EXPIRED
POST /search/haksik/ugeongdang
Get U geong-dang menu
Parameters
- api_key : API KEY
- date : date of u geongdang
- type : premium, ilpum, yangsik, hansik, bunsik
Return
- foodlist : list of food in targeted date
- isAvailable : is food restruant is working now?
Result msg
- 200 : SUCCESS
- 404 : APIKEY_NOTFOUND
- 403 : APIKEY_EXPIRED
POST /search/haksik/hakseong
Get Hakseong sikdang menu
Parameters
- api_key : API KEY
Return
- foodlist : list of food in targeted date
Result msg
- 200 : SUCCESS
- 404 : APIKEY_NOTFOUND
- 403 : APIKEY_EXPIRED
POST /search/haksik/gunza
Get Gunza menu
Parameters
- api_key : API KEY
- date : date of gunza menu
Return
- lunch_list : Lunch list
- dinner_list : Dinner list
Result msg
- 200 : SUCCESS
- 404 : APIKEY_NOTFOUND
- 403 : APIKEY_EXPIRED
Markdown 짜기 귀찮아서 이렇게 했으니 양해 부탁드려요 ㅈㅅ