예제 #1
0
def get_events_list():
	events = [
		{
			'title': 'Event 1',
		},
		{
			'title': 'Event 2',
		},
	]
	return respond_with_json(events)
예제 #2
0
def get_event(event_id):
	event = {
		'title': 'Event 1',
	}
	return respond_with_json(event)