Learn R Programming

zen4R (version 0.2)

ZenodoRequest: ZenodoRequest

Description

ZenodoRequest

Usage

ZenodoRequest

Arguments

Value

Object of R6Class for modelling a generic Zenodo request

Format

R6Class object.

Methods

new(url, type, request, data, file, token, logger)

This method is used to instantiate a object for doing an Zenodo request

getRequest()

Get the request payload

getRequestHeaders()

Get the request headers

getStatus()

Get the request status code

getResponse()

Get the request response

getException()

Get the exception (in case of request failure)

getResult()

Get the result TRUE if the request is successful, FALSE otherwise