Get summary of user's collection
bgm_latest( username, type = c("anime", "book", "game", "music", "real"), max = 25, format = c("list", "table", "default"), key = "bgm2725b1fa2fea5582" )
username | User name a user id. |
---|---|
type | Category type, |
max | Max result number, default is the |
format | Result will be a list of json data when set to |
key | Your application key (ID). |
A list of response content, response()
object, or a
data.table
contains the latest collections.
result <- bgm_latest(username = "sai", format = "table")#> Warning: Coercing LHS to a list#> Warning: Coercing LHS to a list#> Warning: Coercing LHS to a list#> Warning: Coercing LHS to a list#> Warning: Coercing LHS to a list# Result of watching result$do#> [[1]] #> [1] TRUE #> #> [[2]] #> [1] FALSE #> #> [[3]] #> [1] TRUE #> #> [[4]] #> [1] TRUE #> #> [[5]] #> [1] TRUE #> #> [[6]] #> [1] TRUE #> #> [[7]] #> [1] FALSE #> #> [[8]] #> [1] FALSE #> #> [[9]] #> [1] FALSE #> #> [[10]] #> [1] TRUE #> #> [[11]] #> [1] FALSE #> #> [[12]] #> [1] FALSE #> #> [[13]] #> [1] FALSE #> #> [[14]] #> [1] FALSE #> #> $subject.type #> [1] "anime" #>