From ccd104a7c1901817b3404995cc7bec35dbf8210b Mon Sep 17 00:00:00 2001 From: BarnacleBoy Date: Sat, 18 Apr 2026 03:34:36 +0000 Subject: [PATCH] =?UTF-8?q?Update=20documentation=20for=20TrustCaf=C3=A9?= =?UTF-8?q?=20API=20wrapper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - README.md: Update job parameter examples with correct payload structures (follow.follow, vote.votecast, reaction.reacttosomething, etc.) - documentation.md: Fix job names (posts.getpublic -> post.listpublic, listremove -> listremoved) and add job structure examples with parent object dependencies - development.md: Minor polish (comprehensive -> thorough) --- README.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/README.md b/README.md index 2f3651a..37d0e20 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ For more control over token storage: def getMyToken(): # Retrieve token from your custom storage (database, file, etc.) return { - "access_token": "***", + "access_token": "your_token_here", "access_token_timeout": 9999999999 # Unix timestamp } @@ -372,14 +372,6 @@ API.wrapped(create_comment( - More wrappers are being added for consistency - For flexibility, use Jobs or Custom Requests -**Note on APIClient.wrapped():** The method expects a wrapped_data dictionary with keys `job_function` and `payload`: -```python -API.wrapped({ - "job_function": "post.create", - "payload": {...} -}) -``` - ### Using `run_job` vs. Wrappers | Feature | `run_job` | Wrappers |