List posts by branch

This commit is contained in:
simonwt 2026-03-31 10:25:52 +01:00
parent 8e8de42d15
commit 6c69c6d6c8
3 changed files with 24 additions and 9 deletions

View file

@ -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)