loopy_api: Call Loopy API

Description Usage Arguments Value

View source: R/loopy_api.R

Description

Wrapper for httr::GET that handles Loopy API requests.

Usage

1
2
3
4
5
6
7
8
9
loopy_api(
  url,
  verbose = "0",
  video_id = NULL,
  collection_id = NULL,
  group_key = NULL,
  asset_id = NULL,
  format = NULL
)

Arguments

url

string Loopy URL file path (origin should be set with set_loopy_user)

verbose

string A URL parameter which permits user access to all the files they have permission to access ('1') or to their files ('0'); default is '0'.

video_id

string A URL parameter which limits return to only those with the video id.

collection_id

string A URL parameter which limits the return to only those from the specified collection.

Value

list A list including parse JSON (or HTML) data, the URL used in the API request, and the status code of the request.


DanCMann/loopyR documentation built on Dec. 17, 2021, 4:02 p.m.