wanyun-JitSdk


Namewanyun-JitSdk JSON
Version 1.0.2 PyPI version JSON
download
home_pageNone
Summary极态官方授权Api的SDK
upload_time2024-11-16 10:00:43
maintainerNone
docs_urlNone
authorzangtao
requires_pythonNone
licenseNone
keywords python jit sdk apiauth
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # JitSDK

极态官方现内置API授权元素,允许您的应用程序轻松实现对外提供API接口服务。此外,我们还提供了一套全面的SDK,帮助您快速、便捷地接入并使用这些经过授权的API接口

## 使用方法
 1. 添加依赖

~~~
pip install wanyun_JitSdk
~~~

2. 在授权方获取授权信息
~~~
调用url: http://demoain/api/orgId/appName
accessKey: xxxx
accessSecret: xxxxxxxxxxxxxxxx
~~~

4. 在您的项目中导入,并使用,可以参考demo文件
~~~ python
authApi = JitApi("http://demoain/api/orgId/appName")
authApi.setAccessKey("xxxx")
authApi.setAccessSecret("xxxxxxxxxxxxxxxx")
authApi.setApi("services.MySvc.func1")

req = JitApiRequest()
req.setMethod("POST")
req.setParams({})
resp = req.execute(authApi)
print(resp.data)
~~~

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "wanyun-JitSdk",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, jit, sdk, apiAuth",
    "author": "zangtao",
    "author_email": "noguchisyou123456@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/8c/81/712a55a3f2519449459e33868e04915a2e0ec7904ef3fc6f8c2289209724/wanyun_jitsdk-1.0.2.tar.gz",
    "platform": null,
    "description": "# JitSDK\n\n\u6781\u6001\u5b98\u65b9\u73b0\u5185\u7f6eAPI\u6388\u6743\u5143\u7d20\uff0c\u5141\u8bb8\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u8f7b\u677e\u5b9e\u73b0\u5bf9\u5916\u63d0\u4f9bAPI\u63a5\u53e3\u670d\u52a1\u3002\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u63d0\u4f9b\u4e86\u4e00\u5957\u5168\u9762\u7684SDK\uff0c\u5e2e\u52a9\u60a8\u5feb\u901f\u3001\u4fbf\u6377\u5730\u63a5\u5165\u5e76\u4f7f\u7528\u8fd9\u4e9b\u7ecf\u8fc7\u6388\u6743\u7684API\u63a5\u53e3\n\n## \u4f7f\u7528\u65b9\u6cd5\n 1. \u6dfb\u52a0\u4f9d\u8d56\n\n~~~\npip install wanyun_JitSdk\n~~~\n\n2. \u5728\u6388\u6743\u65b9\u83b7\u53d6\u6388\u6743\u4fe1\u606f\n~~~\n\u8c03\u7528url: http://demoain/api/orgId/appName\naccessKey: xxxx\naccessSecret: xxxxxxxxxxxxxxxx\n~~~\n\n4. \u5728\u60a8\u7684\u9879\u76ee\u4e2d\u5bfc\u5165\uff0c\u5e76\u4f7f\u7528\uff0c\u53ef\u4ee5\u53c2\u8003demo\u6587\u4ef6\n~~~ python\nauthApi = JitApi(\"http://demoain/api/orgId/appName\")\nauthApi.setAccessKey(\"xxxx\")\nauthApi.setAccessSecret(\"xxxxxxxxxxxxxxxx\")\nauthApi.setApi(\"services.MySvc.func1\")\n\nreq = JitApiRequest()\nreq.setMethod(\"POST\")\nreq.setParams({})\nresp = req.execute(authApi)\nprint(resp.data)\n~~~\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "\u6781\u6001\u5b98\u65b9\u6388\u6743Api\u7684SDK",
    "version": "1.0.2",
    "project_urls": null,
    "split_keywords": [
        "python",
        " jit",
        " sdk",
        " apiauth"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d324b2801e409fb04743b3ae7838abc43d31cd21e9d81c31b9c5ee96bc796b1e",
                "md5": "59fe6948c92a685721b710592281260d",
                "sha256": "2c1a8faf11b247641707f3f48c65a412d3d5c078b6467c3bb2dce19427fc8e19"
            },
            "downloads": -1,
            "filename": "wanyun_JitSdk-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "59fe6948c92a685721b710592281260d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8071,
            "upload_time": "2024-11-16T10:00:41",
            "upload_time_iso_8601": "2024-11-16T10:00:41.887888Z",
            "url": "https://files.pythonhosted.org/packages/d3/24/b2801e409fb04743b3ae7838abc43d31cd21e9d81c31b9c5ee96bc796b1e/wanyun_JitSdk-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c81712a55a3f2519449459e33868e04915a2e0ec7904ef3fc6f8c2289209724",
                "md5": "44a48602edc7b64fb701ddb89c19db76",
                "sha256": "a3225c3047b709e50da932cf5e0a6482d24c2c6932496cad05a3e959a0a3c04f"
            },
            "downloads": -1,
            "filename": "wanyun_jitsdk-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "44a48602edc7b64fb701ddb89c19db76",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5606,
            "upload_time": "2024-11-16T10:00:43",
            "upload_time_iso_8601": "2024-11-16T10:00:43.041705Z",
            "url": "https://files.pythonhosted.org/packages/8c/81/712a55a3f2519449459e33868e04915a2e0ec7904ef3fc6f8c2289209724/wanyun_jitsdk-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-16 10:00:43",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "wanyun-jitsdk"
}
        
Elapsed time: 0.36293s