Description Usage Arguments Value Examples
With the Times Newswire API, you can get links and metadata for Times articles and blog posts as soon as they are published on NYTimes.com. The Times Newswire API provides an up-to-the-minute stream of published items.
1 2 | nyt_timeswire(src = "all", section = "all", limit = NULL, offset = NULL,
...)
|
src |
Limits the set of items by originating source \"all\" = items from both New York Times and International New York Times, \"nyt\" = New York Times items only, \"iht\" = International New York Times items only, path. Must be one of the following: string. Defaults to all. |
section |
Limits the set of items by one or more sections all. One or more section names, separated by semicolons. To get all sections, specify all. To get a particular section or sections, use section names. String. Defaults to all. |
limit |
Limits the number of results, between 1 and 20, query. Must be one of the following: integer. |
offset |
Sets the starting point of the result set, query. Must be one of the following: integer. |
... |
Passed to http query. |
Response object from the Times Newswire API.
1 2 3 4 | ## Not run:
nyt <- timeswire()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.