tinify_key: Set TinyPNG.com API Key

View source: R/tinify_key.R

tinify_keyR Documentation

Set TinyPNG.com API Key

Description

Set your TinyPNG API key in the system environment, so it is no longer necessary to explicitly provide an API key with every call of tinify().

Usage

tinify_key(key)

Arguments

key

A string containing your TinyPNG.com API key.

Details

You can get a TinyPNG API key from https://tinypng.com/developers.

See Also

tinify() to shrink image filesizes

tinify_defaults() to set default arguments so they do not need to be provided with every call of tinify()

Examples

## Not run: 
tinify_key("YOUR-API-KEY-HERE")

## End(Not run)

jmablog/tinieR documentation built on Aug. 22, 2022, 8:55 p.m.