getHotTags: Get a data frame of hot tags for a given time period.

View source: R/getHotTags.R

getHotTagsR Documentation

Get a data frame of hot tags for a given time period.

Description

Get a data frame of hot tags for a given time period.

Usage

getHotTags(api_key = NULL, period = c("day", "week"), count = 20)

get_hot_tags(api_key = NULL, period = c("day", "week"), count = 20)

Arguments

api_key

Flickr API key. If api_key is 'NULL', the function uses [getFlickrAPIKey()] to use the environment variable "FLICKR_API_KEY" as the key.

period

The period for which to fetch hot tags. Valid values are day or week. Defaults to day

count

The number of tags to return. Defaults to 20. Maximum allowed value is 200.

Value

This function a data frame of hot tags for the given period

See Also

https://www.flickr.com/services/api/flickr.tags.getHotList.html

Examples

## Not run: 
getHotTags(
  api_key = "*********",
  period = "day", count = 20
)

## End(Not run)


FlickrAPI documentation built on July 11, 2022, 5:06 p.m.