Source

audrid / audrid / views / api.py

Full commit
# coding: utf-8
"""
API methods.
"""

from audrid import app
from flask import (jsonify)

@app.route('/api/info', methods=['GET'])
def info():
    return jsonify(info='Audrid API', version="1")