local_image: Encode a local favicon image to be passed to the API

Description Usage Arguments Value

View source: R/utility.R

Description

This function takes a local image path and returns a formatted list expected by the JSON request

Usage

1
local_image(image_path)

Arguments

image_path

character; path to the image

Value

list; list containing the embedded image and required extra parameters needed for the JSON request


ARawles/faviconR documentation built on July 23, 2020, 1:30 p.m.