1 Star 3 Fork 2

吴小昏/douyin-sdk

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
deco.py 310 Bytes
Copy Edit Raw Blame History
0xsaff authored 2020-11-13 09:04 . init project
import requests
def register(api):
def fixer(func):
def wrapper(self,*args,**kwargs):
params = func(self,*args,**kwargs)
url = self.host + api
response = requests.get(url,params=params)
return response.json()
return wrapper
return fixer
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/wu-xiaohun/douyin-sdk.git
git@gitee.com:wu-xiaohun/douyin-sdk.git
wu-xiaohun
douyin-sdk
douyin-sdk
main

Search