r/PictureGame_Bot • u/Provium • Jul 27 '18
picturegame-api v1.2
New Features
Added filters to the /leaderboard endpoint:
fromRoundandtoRound- rank players for wins within the given round range (inclusive)fromTimeandtoTime- rank players for wins within the given time period (inclusive)players- only include stats for the given list of playersranks- only include stats for the players at the given list of ranks
Added /leaderboard/count endpoint to get the number of unique winners
fromRound,toRound,fromTime,toTimeapply here too
Added /view/current and /view/round/X endpoints to redirect to the given round's Reddit thread
Improvements
Added
winCountfield to players returned from the leaderboard endpointAdded
includeRoundNumbersquery param to toggle off returning the full round list (defaults to true)