Skip to main content

Arguments

str
required
The key to get.
float | str
required
The minimum value to include.
float | str
required
The maximum value to include.
“-inf” and “+inf” are also valid values for the ranges
bool
Whether to include the scores in the response.
bool
Whether to reverse the order of the response.
"BYSCORE" | "BYLEX"
If bylex
int
The offset to start from.
int
The number of elements to return.

Response

The values in the specified range.If withscores is true, the members will be tuples of the form (member, score).