A React Hook for fetching ranked data from the Leaderboard API.
metric
prop allows you to specify which metric to query.
You can query predefined metrics by passing their name or ID as a string, or
you can query metrics on-the-fly by passing an inline metric definition to the prop.AccessTokenProvider
instead: