webapi where you can request scheduled rss feed publishing
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.
 
 

20 lines
341 B

from flask import Flask, request
from app import create_app
from scheduler.schedule_text import schedule_text
APP = create_app()
@APP.route("/")
def index():
return "crunk-scheduler online!"
@APP.route("/schedule", methods=["POST"])
def schedule_post():
return schedule_text(request)
if __name__ == "__main__":
APP.run()