Trust lists
This commit is contained in:
parent
ddec254a99
commit
d136f37b5f
9 changed files with 332 additions and 9 deletions
17
testing.py
17
testing.py
|
|
@ -168,9 +168,14 @@ from trustcafeapiwrapper.wrappers.post.create_post import create_post
|
|||
# "/",
|
||||
# "/post/1775075313-63ffb852"
|
||||
# )))
|
||||
from trustcafeapiwrapper.wrappers.vote import votecast
|
||||
save_response(API.wrapped(votecast(
|
||||
"up",
|
||||
"/",
|
||||
"/post/1775075313-63ffb852"
|
||||
)))
|
||||
# from trustcafeapiwrapper.wrappers.vote import votecast
|
||||
# save_response(API.wrapped(votecast(
|
||||
# "up",
|
||||
# "/",
|
||||
# "/post/1775075313-63ffb852"
|
||||
# )))
|
||||
print("-----------Get a list of trusted users for a specific user----------------")
|
||||
users = API.run_job('trust.listbyuserinit', "simon-little")
|
||||
print(users)
|
||||
users = API.run_job('trust.listbyuserhas', "simon-little")
|
||||
print(users)
|
||||
Loading…
Add table
Add a link
Reference in a new issue