def api_board(request, board, start=None): lily = Lily() try: page = lily.fetch_page(board, start) except Exception as e: return build_response(exc=e) return build_response(page.json())