Skip to content

samuelfullerthomas/leaderboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

If you were to get API access, it works like this: Usage: GET https://api.samthomas.io/leaderboard/:subdomain Subdomain can be metatalk, www (for metafilter), or ask example: https://api.samthomas.io/leaderboard/ask

https://api.samthomas.io/leaderboard/www?posts=300&limit=200

Filters: posts: default 200 // the number of posts you want to include limit: default no limit // the number of users you want to include (i.e., top 200) user: default null // if you want to return information on a specific user (like yourself!) sort: default activity // how you want to sort the comments (two options, activity and popularity) example filtered request: https://api.samthomas.io/leaderboard/www?posts=300&user=samuelfullerth

Response: { totalComments: total comments over the last x number of posts politicalComments: total comments in threads tagged potus45 politicalPercentage: percentage of total comments that are political dateRangeCovered: the dates those posts were made over data: [ // user information { tags: tags of posts a user has commented in favoritesPerComment : average number of favs / comment politicalCommentsPercentage: percentage of a users comments made in a political thread totalFavorites: total favorites of all the users comments commentCount: number of comments a user made over the previous x number of posts comments: [ commentUrl favorites ] userId user id href user profile link name username activityRank how active the user is compared to the rest of the site popularityRank how many total favorites a user has compared to the rest of the site } ] }

About

Comment message board leaderboards!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published