You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.3 KiB
40 lines
1.3 KiB
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/feedly-subscribe.R
|
|
\name{feedly_subscribe}
|
|
\alias{feedly_subscribe}
|
|
\title{Subscribe to an RSS feed}
|
|
\usage{
|
|
feedly_subscribe(
|
|
feed_url,
|
|
categories = NULL,
|
|
title = NULL,
|
|
feedly_token = feedly_access_token()
|
|
)
|
|
}
|
|
\arguments{
|
|
\item{feed_url}{a URL to an RSS feed (this will be validated).}
|
|
|
|
\item{categories}{if \code{NULL} then the feed will be assigned to the global (uncategorized) category.
|
|
Otherwise pass in a character vector of valid category names (use the
|
|
utility function \code{\link[=feedly_categories]{feedly_categories()}} to get a list of category names)}
|
|
|
|
\item{title}{if \code{NULL} the title will be intuited from the contents of \code{feed_url}}
|
|
|
|
\item{feedly_token}{Your Feedly Developer Access Token (see \code{\link[=feedly_access_token]{feedly_access_token()}})}
|
|
}
|
|
\value{
|
|
a data frame (invisibly) with metadata about the subcription
|
|
}
|
|
\description{
|
|
Authorization is \emph{required} for this API call.
|
|
}
|
|
\examples{
|
|
\dontrun{
|
|
feedly_subscribe("https://journal.r-project.org/rss.atom")
|
|
feedly_subscribe("http://gh-feed.imsun.net/hrbrmstr/sergeant/issues", "git issues")
|
|
feedly_subscribe("https://rsshub.app/github/issue/hrbrmstr/sergeant", "git issues")
|
|
}
|
|
}
|
|
\references{
|
|
(\url{https://developer.feedly.com/v3/subscriptions/#subscribe-to-a-feed/})
|
|
}
|
|
|