mirror of
https://github.com/IgorL123/mafia_api.git
synced 2026-09-24 07:30:15 +00:00
update 0.1
This commit is contained in:
@@ -7,6 +7,20 @@ app = Flask(__name__)
|
||||
def hello_world(): # put application's code here
|
||||
return 'Hello World!'
|
||||
|
||||
@app.route('/create_game')
|
||||
def create(str truechatid):
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@app.route('/start_game')
|
||||
def start(): # Команда принимает на вход
|
||||
|
||||
|
||||
@app.route('/action')
|
||||
def action():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run()
|
||||
Reference in New Issue
Block a user