极态官方授权Api的SDK
Project description
JitSDK
极态官方现内置API授权元素,允许您的应用程序轻松实现对外提供API接口服务。此外,我们还提供了一套全面的SDK,帮助您快速、便捷地接入并使用这些经过授权的API接口
使用方法
- 添加依赖
pip install wanyun_JitSdk
- 在授权方获取授权信息
调用url: http://demoain/api/orgId/appName
accessKey: xxxx
accessSecret: xxxxxxxxxxxxxxxx
- 在您的项目中导入,并使用,可以参考demo文件
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wanyun_jitsdk-1.0.4.tar.gz
(6.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wanyun_jitsdk-1.0.4.tar.gz.
File metadata
- Download URL: wanyun_jitsdk-1.0.4.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64d5fa53b10ae23197ff9f9654fed1115d83811cfc2c0081169ac823daf13fd9
|
|
| MD5 |
9ce2830ca0b4c6505a7ae96c31f6f446
|
|
| BLAKE2b-256 |
7c56f361c842481f906c59c2b5ed5c74cde1a75204698b7cfbed99b6bacafa71
|
File details
Details for the file wanyun_JitSdk-1.0.4-py3-none-any.whl.
File metadata
- Download URL: wanyun_JitSdk-1.0.4-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd1231e2e2955d2c9e95f2ae782c30762e9c9a42274c1002a2e536b922e9404a
|
|
| MD5 |
1b2b92c17c32b3487739589d3ad9c366
|
|
| BLAKE2b-256 |
345881e914a166ec1b5afea3f66db6e38680036ee121af35f3953a583324daed
|