diff --git a/README.md b/README.md index 80bc5f8..7d53f65 100644 --- a/README.md +++ b/README.md @@ -22,4 +22,10 @@ there's probably an already existing name that I can't articulate how to find. 2. Should these `job` be called with dot notation? Or with slashes? Or something else? Is it okay to have these as strings? -3. Should we do validation in the `jobs` or let the server do that all? \ No newline at end of file +3. Should we do validation in the `jobs` or let the server do that all? + +## ToDo: + +1. Make more jobs +2. Make wrappers to make it less cumbersome when posting etc +3. Publish to PyPi or whatever \ No newline at end of file diff --git a/testing.py b/testing.py index fa3776b..54e8b30 100644 --- a/testing.py +++ b/testing.py @@ -59,6 +59,7 @@ if not API.is_token_valid(): # }) # print(post) # print("-----------------------------") + # post = API.run_job('comment.create', { # "blurLabel": None, # "commentText": "This is a test comment created via the API wrapper.", @@ -75,5 +76,25 @@ if not API.is_token_valid(): # }) # print(post) # print("-----------------------------") -feed = API.run_job('comment.listtbypostid', "1774951384-98fe38df") -print(feed) \ No newline at end of file +# feed = API.run_job('comment.listtbypostid', "1774951384-98fe38df") +# print(feed) +# print("-----------------------------") +# x = 1 +# while x <= 20: +# post = API.run_job('comment.create', { +# "blurLabel": None, +# "commentText": f"Making loads of comment #{x}", +# "parent": { +# "pk": "maintrunk#maintrunk", +# "sk": "post#1774951384-98fe38df", +# "slug": "1774951384-98fe38df" +# }, +# "topLevel": { +# "pk": "maintrunk#maintrunk", +# "sk": "post#1774951384-98fe38df" +# }, +# "version": 3 +# }) +# print(post) +# x += 1 +# print("-----------------------------")