# NOT RUN {
# get items by item ID
qiita_get_items(item_id = "7a78d897810446dd6a3b")
# get items by tag ID
qiita_get_items(tag_id = c("dplyr", "tidyr"), per_pages = 10L, page_limit = 1L)
# get items by user ID
qiita_get_items(user_id = "yutannihilation")
# Post an item. Note that the post is private by default.
# You should manually check if the post is valid before make it public.
item <- qiita_post_item(title = "test", body = "This is an example.")
# update the post
qiita_update_item(item$id, title = "test", body = "**This is a strong example!**")
# delete the post
qiita_delete_item(item$id)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab