示例#1
0
文件: views.py 项目: roxit/lilium
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())
示例#2
0
文件: views.py 项目: roxit/lilium
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())