Description Usage Arguments Examples
Get, write, update or delete comments via Qiita API.
1 2 3 4 5 6 7 8 9 10 11 12 13 | qiita_get_comments(
comment_id = NULL,
item_id = NULL,
per_page = 100L,
page_offset = 0L,
page_limit = 1L
)
qiita_delete_comment(comment_id)
qiita_update_comment(comment_id, body)
qiita_post_comment(item_id, body)
|
comment_id |
Comment ID. |
item_id |
Item (article) ID. |
per_page |
Number of items per one page. |
page_offset |
Number of offset pages. |
page_limit |
Max number of pages to retrieve. |
body |
body of the item |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# get a comment by id
qiita_get_comments(comment_id = "1fdbb164e19d79e10203")
# get comments by item id
qiita_get_comments(item_id = "b4130186e1e095719dcb")
# post a comment to some item
qiita_post_comment(item_id = "123456789", body = "Thank you!!!")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.