bitly_retrieve_group_pref {urlshorteneR}R Documentation

Retrieve Group Preferences

Description

Retrieve preferences for a specific group

Usage

bitly_retrieve_group_pref(group_id = NA, showRequestURL = F)

Arguments

group_id

- the group id the user belongs to

showRequestURL

- an optional T/F value to whether show URL which has been build and requested from server. For debug purposes, default FALSE.

Group

Groups are a subdivision within an organization. A user will belong to a group within an organization. Most actions on our API will be on behalf of a group. For example, when you shorten a link, it will be on behalf of a user and a group.

See Also

https://dev.bitly.com/api-reference#getGroupPreferences

Examples

## Not run: 
ui <- bitly_user_info(showRequestURL = TRUE)
group_pref <- bitly_retrieve_group_pref(group_id = ui$default_group_guid[1])

## End(Not run)

[Package urlshorteneR version 1.5.7 Index]