- Overall
- Quickstarts
- Features
- SDKs
- Typescript
- Python
- Overview
- Getting Started
- Features
- Commands
- Overview
- Auth
- Bitmap
- Generic
- Hash
- Json
- List
- PubSub
- Scripts
- Server
- Set
- Sorted Set
- String
- Ratelimit (TS)
- Ratelimit (PY)
- How To
- Integrations
- Tutorials
- Troubleshooting
- Help
Sorted Set
ZSCORE
Returns the scores of a member.
redis.zadd("myset", {"a": 1, "b": 2, "c": 3})
assert redis.zscore("myset", "a") == 1
Arguments
The key to get.
Response
A member of the sortedset.
redis.zadd("myset", {"a": 1, "b": 2, "c": 3})
assert redis.zscore("myset", "a") == 1
Was this page helpful?
redis.zadd("myset", {"a": 1, "b": 2, "c": 3})
assert redis.zscore("myset", "a") == 1