
Last chance! 50% off unlimited learning
Sale ends in
Get, follow or unfollow users via Qiita API.
qiita_get_stockers(item_id, per_page = 100L, page_offset = 0L, page_limit = 1L)qiita_get_users(user_id)
qiita_get_followees(
user_id,
per_page = 100L,
page_offset = 0L,
page_limit = 1L
)
qiita_get_followers(
user_id,
per_page = 100L,
page_offset = 0L,
page_limit = 1L
)
qiita_follow_user(user_id)
qiita_unfollow_user(user_id)
qiita_is_following_user(user_id)
qiita_get_authenticated_user()
Item (article) ID.
Number of items per one page.
Number of offset pages.
Max number of pages to retrieve.
User ID (e.g. "yutannihilation"
).
# NOT RUN {
# get a user by id
qiita_get_users("yutannihilation")
# follow a user
qiita_follow_user("user1")
# unfollow a user
qiita_unfollow_user("user1")
# get the current user
qiita_get_authenticated_user()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab