Skip to content
This repository has been archived by the owner on Feb 21, 2018. It is now read-only.
/ jubi-tiny-api Public archive

计算聚币网(jubi.com)私有API的三个参数

Notifications You must be signed in to change notification settings

6r6/jubi-tiny-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

jubi-tiny-api

计算聚币网(jubi.com)私有API的三个参数。

聚币API的坑

最终POST请求时,必须注意参数的排序。

只有以下两种排序是正确的,其余的都返回104错误:

signature,nonce,key

nonce,singature,key

总结:nonce参数一定要在key前头

"食用"方法

首先初始化实例:

jubi=Jubi('公钥','私钥')

data = jubi.get_params()

requests.post(url='https://www.jubi.com/api/v1/balance/', data=data)

About

计算聚币网(jubi.com)私有API的三个参数

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages