Returns a specific key-value entry by key.
Use a bare-bones client and the command you need to make an API call.
import { KvServiceClient, GetCommand } from "@rivet-gg/kv"; // ES Modules import // const { KvServiceClient, GetCommand } = require("@rivet-gg/kv"); // CommonJS import const client = new KvServiceClient(config); const command = new GetCommand(input); const response = await client.send(command);
GetCommandInput for command's input shape.
input
GetCommandOutput for command's response shape.
response
config for KvServiceClient's config shape.
config
Returns a specific key-value entry by key.
Use a bare-bones client and the command you need to make an API call.
import { KvServiceClient, GetCommand } from "@rivet-gg/kv"; // ES Modules import // const { KvServiceClient, GetCommand } = require("@rivet-gg/kv"); // CommonJS import const client = new KvServiceClient(config); const command = new GetCommand(input); const response = await client.send(command);GetCommandInput for command's
inputshape.GetCommandOutput for command's
responseshape.config for KvServiceClient's
configshape.