Learn R Programming

qiitr (version 0.1.1)

qiita_tag: Qiita Tag API

Description

Get, follow or unfollow tags via Qiita API.

Usage

qiita_get_tags(
  tag_id = NULL,
  user_id = NULL,
  per_page = 100L,
  page_offset = 0L,
  page_limit = 1L
)

qiita_follow_tag(tag_id)

qiita_unfollow_tag(tag_id)

qiita_is_following_tag(tag_id)

Arguments

tag_id

Tag ID (e.g. "R", "dplyr").

user_id

User ID (e.g. "yutannihilation").

per_page

Number of items per one page.

page_offset

Page offset.

page_limit

Max number of pages to aquire.

Examples

Run this code
# NOT RUN {
# get a tag by Tag IDs
qiita_get_tags(tag_id = "R")

# get tags by user ID
qiita_get_tags(user_id = "yutannihilation")

# follow a tag
qiita_follow_tag("RStudio")

# unfollow a tag
qiita_unfollow_tag("RStudio")
# }

Run the code above in your browser using DataLab