You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
305 B

from flask import Flask, request
from flask_restful import Resource, Api
import json
app = Flask(__name__)
api = Api(app)
buses = {}
with open("modules/databases/announcements.json","r") as f:
announcements = json.loads(f.read())
class Announcement(Resource):
def get(self):
return announcements