Get the leaderboard
clickd_leaderboardLists the public leaderboard: every ranked site by its latest score, the board of one crowd, or a record.
When: to show a person where a site places among every site, or sites like it.
Instead: clickd_site for one site's own place; clickd_rivals for the sites closest to one site.
Inputs: in (a line of work such as trades), state (two letters), city (needs state) and size narrow the board, together or alone. record gives one record in place of the places. limit and offset page it.
Returns: total, offset, limit, sites, tiers and note; with record, its sites and what it counted.
Fails: a crowd too small answers an empty board; drafts and closed sites are not ranked. Works with no key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in | No | A line of work, such as trades. | |
| city | No | A city in that state, such as Dallas. | |
| size | No | By the pages a read took. | |
| limit | No | How many to return. | |
| state | No | A US state by two letters, such as MO. | |
| offset | No | How many to skip, for the next part of a long list. | |
| record | No | One record in place of the places. |