Learn R Programming

qiitr (version 0.1.1)

qiita_api: Send A Request To Qiita API

Description

An httr Wrapper for Qiita API.

Usage

qiita_api(
  verb,
  path,
  payload = NULL,
  query = NULL,
  per_page = 100L,
  page_offset = 0L,
  page_limit = 1L,
  .expect204 = FALSE
)

Arguments

verb

Method type (e.g. GET, POST, DELETE).

path

Path of API.

payload

JSON payload.

query

Query strings.

per_page

Number of entries (e.g. items, tags, users) in one page.

page_offset

Number of offset pages.

page_limit

Max number of pages to retrieve.

.expect204

If TRUE, return TRUE for status code 204 and FALSE for status code 404.