• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
yjyoon / Daegu-Jeju-DIP star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB 1
  • Files
  • Commit
  • Branches
Daegu-Jeju-DIPapp.py
Download as .zip file
File name
Commit message
Commit date
database
Hello Yona
2024-07-09
logger
Hello Yona
2024-07-09
README.md
Hello Yona
2024-07-09
action.py
added json communication format
2024-07-17
app.py
Hello Yona
2024-07-09
auth.py
added json communication format
2024-07-17
blocked_ips.json
Hello Yona
2024-07-09
example.json
added json communication format
2024-07-17
gcity.py
Hello Yona
2024-07-09
requirements.txt
Hello Yona
2024-07-09
trip.py
Hello Yona
2024-07-09
minipc 2024-07-09 fefe14a Hello Yona DOS
Raw Open in browser Change history
from flask import Flask, request, abort, jsonify from flask_restx import Api from auth import Auth from trip import Trip from action import Action from flask_caching import Cache import json app = Flask(__name__) cache = Cache(app, config={'CACHE_TYPE': 'simple'}) print("Api Start") api = Api(app, version='0.1', title="trafficagent", description="API Server", terms_url="/", contact="dhlim@takensoft.co.kr", license="MIT") print("Api Started") api.add_namespace(Trip, '/trip') print("Api Add Trip") api.add_namespace(Auth, '/auth') print("Api Add Auth") api.add_namespace(Action, '/action') if __name__ == "__main__": app.run(debug=True, host='192.168.0.195', port=15857) print("Flask Start")

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up