Read Key Value from Store API

Read a value from the key-value store. The key-value store is a simple storage system that allows you to store and retrieve data using a key. The data is stored in the cloud and can be accessed from anywhere. You can use the key-value store to store any type of data, such as text or numbers. The key-value store is a great way to store data that you want to access from multiple devices or locations.

GET
https://api.apileague.com/read-key-value
Example Request and Response
GET
https://api.apileague.com/{{ examples.getReadKeyValue }}
{
    "value": "100"
}
cURL
Java
Javascript
Python
Go
C#
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}

Store Key Value (PUT) API

Store a value in the key-value store. The key-value store is a simple storage system that allows you to store and retrieve data using a key. The data is stored in the cloud and can be accessed from anywhere. You can use the key-value store to store any type of data, such as text or numbers. The key-value store is a great way to store data that you want to access from multiple devices or locations.

PUT
https://api.apileague.com/store-key-value
Example Request and Response
PUT
https://api.apileague.com/{{ examples.putStoreKeyValue }}
{
    "status": "success"
}

Store Key Value (GET) API

Store a value in the key-value store. The key-value store is a simple storage system that allows you to store and retrieve data using a key. The data is stored in the cloud and can be accessed from anywhere. You can use the key-value store to store any type of data, such as text or numbers. The key-value store is a great way to store data that you want to access from multiple devices or locations.

GET
https://api.apileague.com/store-key-value
Example Request and Response
GET
https://api.apileague.com/{{ examples.getStoreKeyValue }}
{
    "status": "success"
}
cURL
Java
Javascript
Python
Go
C#
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}

Frequently Asked Questions

What kind of data can I store?

You can store any type of data that can be represented as a string, such as text, numbers, JSON objects, or configuration settings.

Is the data persistent?

Yes, the data is stored securely in the cloud and remains available until you update or delete it.

Can I access the data from different devices?

Absolutely. Since the data is stored in the cloud, you can access it from any device or application that has the correct API key and key name.

How is the Key Value Storage API different from a traditional database?

The Key Value Storage API is a simple, lightweight cloud storage for storing small pieces of data (like settings or simple states) accessible via a simple API key, whereas a traditional database is for complex, structured data relationships.

Questions? Need Help? Ask Away