String

GET

Return the value of the specified key or `None` if the key doesn't exist.

Arguments

keybodystrrequired

The key to get.

Response

required

The response is the value stored at the key or None if the key doesn't exist.

Example
redis.set("key", "value")assert redis.get("key") == "value"
Loading search…