erp-apis


Nameerp-apis JSON
Version 1.2.21 PyPI version JSON
download
home_pagehttps://gitee.com/li_fucheng/erp_sdk_python
Summaryerp_apis
upload_time2024-06-06 10:03:44
maintainerNone
docs_urlNone
author李福成
requires_pythonNone
licenseMIT
keywords erp_apis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            

## 1.项目简介

 

erp_sdk_python对聚水潭常用的一些api进行了封装

 

 

### 安装

 pip install erp_apis





#### 案例:获取订单数据

    # 获取订单数据

    from apis.user import login

    from apis.order import OrderList

    from erp_apis.request import Session



    session = Session()



    session.erpSend(login(

        username="erp账号",

        password="erp密码"

    ))



    res = session.erpSend(OrderList())

    print(res)

 


            

Raw data

            {
    "_id": null,
    "home_page": "https://gitee.com/li_fucheng/erp_sdk_python",
    "name": "erp-apis",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "erp_apis",
    "author": "\u674e\u798f\u6210",
    "author_email": "lfct@qq.com",
    "download_url": null,
    "platform": null,
    "description": "\r\n\r\n## 1.\u9879\u76ee\u7b80\u4ecb\r\n\r\n \r\n\r\nerp_sdk_python\u5bf9\u805a\u6c34\u6f6d\u5e38\u7528\u7684\u4e00\u4e9bapi\u8fdb\u884c\u4e86\u5c01\u88c5\r\n\r\n \r\n\r\n \r\n\r\n### \u5b89\u88c5\r\n\r\n pip install erp_apis\r\n\r\n\r\n\r\n\r\n\r\n#### \u6848\u4f8b\uff1a\u83b7\u53d6\u8ba2\u5355\u6570\u636e\r\n\r\n    # \u83b7\u53d6\u8ba2\u5355\u6570\u636e\r\n\r\n    from apis.user import login\r\n\r\n    from apis.order import OrderList\r\n\r\n    from erp_apis.request import Session\r\n\r\n\r\n\r\n    session = Session()\r\n\r\n\r\n\r\n    session.erpSend(login(\r\n\r\n        username=\"erp\u8d26\u53f7\",\r\n\r\n        password=\"erp\u5bc6\u7801\"\r\n\r\n    ))\r\n\r\n\r\n\r\n    res = session.erpSend(OrderList())\r\n\r\n    print(res)\r\n\r\n \r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "erp_apis",
    "version": "1.2.21",
    "project_urls": {
        "Bug Tracker": "https://gitee.com/li_fucheng/erp_sdk_python/issues",
        "Documentation": "https://gitee.com/li_fucheng/erp_sdk_python",
        "Homepage": "https://gitee.com/li_fucheng/erp_sdk_python",
        "Source Code": "https://gitee.com/li_fucheng/erp_sdk_python"
    },
    "split_keywords": [
        "erp_apis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e66e1dcfd1ef00783ac0c5f6c0ba1c201a59009b601256dc2d70c18050d1d676",
                "md5": "a62e93ae41f95fbf6c41248765ef2e66",
                "sha256": "ed32d3ac78301c83ab1b27b4aa8a73c47e03bfa0badf952121fdba253cda1750"
            },
            "downloads": -1,
            "filename": "erp_apis-1.2.21-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a62e93ae41f95fbf6c41248765ef2e66",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 15308,
            "upload_time": "2024-06-06T10:03:44",
            "upload_time_iso_8601": "2024-06-06T10:03:44.973544Z",
            "url": "https://files.pythonhosted.org/packages/e6/6e/1dcfd1ef00783ac0c5f6c0ba1c201a59009b601256dc2d70c18050d1d676/erp_apis-1.2.21-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-06 10:03:44",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "erp-apis"
}
        
Elapsed time: 0.25651s