R/lists_show.R

Defines functions twtr_lists_show

Documented in twtr_lists_show

#' GET lists/show
#'
#' @seealso \url{https://dev.twitter.com/rest/reference/get/lists/show}
#' @param list_id
#'      The numerical id of the list.
#' @param slug
#'      You can identify a list by its slug instead of its numerical id. If you decide to do so, note that
#'      youfll also have to specify the list owner using the owner_id or owner_screen_name parameters.
#' @param owner_screen_name
#'      The screen name of the user who owns the list being requested by a slug.
#' @param owner_id
#'      The user ID of the user who owns the list being requested by a slug.
#' @export
twtr_lists_show <- function(list_id, slug, owner_screen_name = NULL, owner_id = NULL, ...) {
    twtr_api("GET", "https://api.twitter.com/1.1/lists/show.json", query = list(list_id = list_id, slug = slug, owner_screen_name = owner_screen_name, 
        owner_id = owner_id, ...))
}
yutannihilation/twihttr documentation built on May 4, 2019, 7:46 p.m.