openfoodfacts / openfoodfacts-events

Events repository and API for product scans, photo uploads, robotoff annotations etc.
GNU Affero General Public License v3.0
7 stars 3 forks source link

Specify time_range in /leaderboard endpoint #5

Open ocervell opened 3 years ago

ocervell commented 3 years ago

What

Part of

wweverma1 commented 2 years ago

@ocervell can you please explain what do you mean by time range?? For now the leaderboard API provides score and user_id as response. Also can I work on this issue?

ocervell commented 2 years ago

this is to query the leaderboard for results for the last day, week or month. Time range is "1 day", "1 week", "1 month", or it could be "last 12 hours", etc... Of course you can take the issue :)