bitly_retrieve_sorted_bitlinks_by_groups: Retrieve Sorted Bitlinks for Group

View source: R/bitly_links.R

bitly_retrieve_sorted_bitlinks_by_groupsR Documentation

Retrieve Sorted Bitlinks for Group

Description

See https://dev.bitly.com/api-reference/#getSortedBitlinks This will retrieve a paginated response for Bitlinks that are sorted for the Group

Usage

bitly_retrieve_sorted_bitlinks_by_groups(
  group_guid = NULL,
  unit = "day",
  units = -1,
  sort = "clicks",
  size = 50,
  unit_reference = NULL,
  showRequestURL = FALSE
)

Arguments

group_guid

- a GUID for a Bitly group

unit

- A unit of time

units

- An integer representing the time units to query data for. pass -1 to return all units of time.

sort

- required, Enum:"clicks" - The type of sorting that you would like to do

size

- The quantity of items to be be returned

unit_reference

- string | An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time.

showRequestURL

- show URL which has been build and requested from server. For debug purposes.

Examples

## Not run: 
bitly_retrieve_sorted_bitlinks_by_groups(group_guid = "", sort = "clicks")

## End(Not run)

dmpe/urlshorteneR documentation built on Aug. 23, 2022, 1:12 a.m.