Description Usage Arguments Details Value Author(s) See Also Examples
These functions allow you to download and manipulate badges from a StackExchange site
1 2 3 4 5 | allBadges(num=NULL, site='stackoverflow.com')
nameBadges(num=NULL, site='stackoverflow.com')
tagBadges(num=NULL, site='stackoverflow.com')
badgeRecipients(ids, fromDate=NULL, toDate=NULL, num=NULL,
site='stackoverflow.com')
|
num |
An upper bound on the number of results to return |
ids |
A vector of badge IDs to look up |
fromDate |
When present, an early bound on results to return,
either as a |
toDate |
When present, an upper bound on results to return,
either as a |
site |
Which StackExchange site to poll |
The allBadges
function will return all badges in the site in
alphabetical order
The nameBadges
function will return all non-tagged-based badges
in alphabetical order.
The tagBadges
function will return all tagged-based badges in
alphabetical order.
All but badgeRecipients
return a list of seBadge
objects, while badgeRecipients
returns a list of
seUser
objects.
Jeff Gentry
1 2 3 | zz <- allBadges(num=25)
ids <- sapply(zz, function(x) x$getBadgeID())
xx <- badgeRecipients(ids, num=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.