TL; DR You will learn how to interact with KVStore.io, storing and retrieving data, by writing a very few lines of Java code thanks to the…
After 5 years of honored but concealed service, I have some news about KVStore.io that I’m thrilled to share with you.
Docs, tutorials and examples
BEFORE USING THIS API, YOU MUST INVOKE THE SIGNUP ENDPOINT. Once invoked, you will receive an e-mail with a confirmation link.
KVStore.io is a simple storage service based on a “key/value” data modeling: you can easily organize data in dictionaries, where your keys map to values, both of which are simple strings. Furthermore, you may create one or more dictionaries that are called collections.
Although very simple, this approach is very flexible and powerful, because it does not imply any specific data format.
Typical use-cases:
Please, check out the main website for docs, tutorials and examples: https://www.kvstore.io
Refer to the official KVStore.io API documentation on Mashape
KVStore.io (v0.2.x) supports two different uses:
RESTful API
intended for server-to-server
environments (e.g. to manage server configurations, to store dynamic data coming from user forms and so on…)client-side-only
applications (like static pages, e.g. gh-pages
) for data provided by users, typically web formsPlease note: you can use KVStore.io in both ways at the same time. The
client-side-only
feature can be enabled by setting thepublic_write
collection flag (see docs below)
If you need to store data, such as user forms, but you just have a static HTML website (such as GitHub pages), then this is what you need!
In order to use this feature, follow these simple steps:
users/signup
endpoint)js
true
. This enables the client-side-only
feature (if false any attempt to write data fails)kvstoreio(collection, key, value, callback)
:
collection
(string): the name of the collection on KVStore.io (it must exist)key
(string)value
(string)callback
(function, optional): async method invoked after the save has been completedKVStore.io is a simple Key/Value
API based storage service.
In order to complete the registration to KVStore.io (and in addition to your Mashape account), YOU MUST INVOKE THE KVSTORE USERS/SIGNUP ENDPOINT. If you don’t complete this step, your API calls will fail returning a 401 HTTP code (Unauthorized)
Please, be careful and subscribe to KVStore.io using a different password than the one you’re using to access the Mashape marketplace
YOU MUST INVOKE THE KVSTORE USERS/SIGNUP ENDPOINT to complete the registration to KVStore.io (and in addition to your RapidAPI account)