Learn R Programming

urlshorteneR (version 0.8.8)

bitly_LinksMetricsClicks: Returns numbers of click on a link.

Description

Returns the number of clicks on a single Bitlink of the authenticated user.

Usage

bitly_LinksMetricsClicks(link, limit = 1000, unit = c("minute", "hour",
  "day", "week", "month"), units = -1, rollup = "true",
  showRequestURL = FALSE)

Arguments

Value

clicks - the number of clicks on the specified Bitlink.

dt - time in UTC format (only when rollup = "false")

See Also

http://dev.bitly.com/link_metrics.html#v3_link_clicks

Examples

Run this code
bitly_token <- bitly_auth(key = "", secret = "")
bitly_LinksMetricsClicks(link = "http://bit.ly/DPetrov", unit = "day", units = -1, limit = 100)

Run the code above in your browser using DataLab