posts: Disqus Posts API

Description Usage Arguments Details Examples

View source: R/posts.R

Description

Disqus Posts API

Usage

1
posts(option, type = "json", limit = 25, ...)

Arguments

...

listTemplate option.

Details

Original API Documentation for threads https://disqus.com/api/docs/threads/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
# lists threads of forum=politico in RSS-format
threads("list", forum="politico", format="rss")

# use a specific link ending with ".html" (may work if link was not changed)
art <- "http://www.11freunde.de/liveticker/das-rueckspiel-der-relegation-im-liveticker"
thrd <- threads("list", thread=art)
pst <- posts("list", forum="11freunde", thread=thrd$id)

# use a timestamp
unixtime <- as.numeric(as.POSIXct("2015-05-26", format="%Y-%m-%d"))
threads("list", forum="politico", since=unixtime)

## End(Not run)

JanMarvin/disqusR documentation built on May 6, 2019, 10:11 a.m.