Exemple #1
0
def list():
    location = parse_location(request.args)
    return jsonify({
        'airspaces': api.get_airspaces_by_location(location),
        'waves': api.get_waves_by_location(location),
    })
Exemple #2
0
def _list():
    location = parse_location(request.args)
    return jsonify(api.get_waves_by_location(location))