Beispiel #1
0
def data_time(zone, score_key):
    """
    Format of score_key should be:
    """
    # Grab scores with dates, tag with MSA as we know that score is in the summary
    scores = Tag.get_tag_dates(zone)
    score_d = [model_to_dict(s)['date'] for s in scores]

    return jsonify(score_d)
Beispiel #2
0
def zone_dates(zone):
    dates = Tag.get_tag_dates(zone)
    return jsonify([model_to_dict(d)['date'] for d in dates])