""" These are the client intermediary views for accessing data in the
backend. """
import json

learning_topics = {
    'topics': [
        {'title': 'Learn place names', 'id': 1, 'description': 'Learn place names in North Saami'},
        {'title': 'Learn place name inflection', 'id': 2, 'description': 'Learn how to inflect place names'},
        {'title': 'Practice Illative', 'id': 3, 'description': 'Practice illative inflection'},
    ]
}

def get_topics_list():
    " Request a list of learning topics, return a python dictionary "

    return learning_topics['topics']

