mirror of
https://github.com/kennethreitz-archive/callingme-service.git
synced 2026-06-05 23:30:17 +00:00
20 lines
356 B
Python
20 lines
356 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
|
|
from flask import Flask
|
|
from flask_heroku import Heroku
|
|
from flask_sslify import SSLify
|
|
from raven.contrib.flask import Sentry
|
|
|
|
app = Flask(__name__)
|
|
|
|
heroku = Heroku(app)
|
|
sentry = Sentry(app)
|
|
sslify = SSLify(app)
|
|
|
|
app.debug = True
|
|
|
|
@app.route('/')
|
|
def describe_api():
|
|
"""Returns a description of the API."""
|
|
return 'yay!' |