Skip to content

Commit 12bc3b5

Browse files
committed
Add "get_post_comments" example
1 parent 9ddb9b2 commit 12bc3b5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,16 @@ application.get_memberships(params={'count': 20})
255255
u'membershipState': {u'code': u'member'}}]}
256256

257257
application.get_posts(41001)
258+
259+
application.get_post_comments(
260+
%POST_ID%,
261+
selectors=[
262+
{"creator": ["first-name", "last-name"]},
263+
"creation-timestamp",
264+
"text"
265+
],
266+
params={"start": 0, "count": 20}
267+
)
258268
```
259269

260270
You can also submit a new post into a specific group.

0 commit comments

Comments
 (0)