List posts by branch
This commit is contained in:
parent
8e8de42d15
commit
6c69c6d6c8
3 changed files with 24 additions and 9 deletions
19
testing.py
19
testing.py
|
|
@ -31,11 +31,14 @@ if not API.is_token_valid():
|
|||
with open("token_data.json", "w") as f:
|
||||
json.dump(tokendata, f, indent=4)
|
||||
|
||||
profile = API.run_job('userprofile.get', "simon-little")
|
||||
print(profile)
|
||||
print("-----------------------------")
|
||||
branch = API.run_job('branch.get', "music")
|
||||
print(branch)
|
||||
print("-----------------------------")
|
||||
post = API.run_job('post.get', "1774875037-170a46a9")
|
||||
print(post)
|
||||
# profile = API.run_job('userprofile.get', "simon-little")
|
||||
# print(profile)
|
||||
# print("-----------------------------")
|
||||
# branch = API.run_job('branch.get', "music")
|
||||
# print(branch)
|
||||
# print("-----------------------------")
|
||||
# post = API.run_job('post.get', "1774875037-170a46a9")
|
||||
# print(post)
|
||||
# print("-----------------------------")
|
||||
feed = API.run_job('post.listbybranch', "music")
|
||||
print(feed)
|
||||
Loading…
Add table
Add a link
Reference in a new issue