🔴[NEW]🔴 Python Lib for www.jsonstore.io. DON'T LOSE YOUR DATA AGAIN WITH JSON STORE 🔴[NEW]🔴
leon332157 (147)

🔴[NEW]🔴 Python Lib for www.jsonstore.io. DON'T LOSE YOUR DATA AGAIN WITH JSON STORE 🔴[NEW]🔴
This is a client to interact with www.jsonstore.io , an online json storage platform.
GitHub repo: https://github.com/leon332157/json-store-client 🔴STAR IT NOW 🔴 :star: :star: :star:

Installation

Add 'json-store-client' to your requirement.txt

Usage

import json_store_client

jsonStoreToken = "..." # Insert your token here.
client = json_store_client.Client(jsonStoreToken)

# Save data to the "foo" key.
client.store("foo", {"alfa": "bravo", "charlie": "delta"})

# Get the data from the "foo" key.
data = client.retrieve("foo")

print(data["alfa"]) # => "bravo"

# Deletes the data after printing parts of it.
client.delete("foo")

json-store-client API

json_store_client.Client(token)

Returns the client to use for data operations.

token (str): The API token from jsonstore.io

client.store(key, data[, timeout])

Storing data in jsonstore with a key

key (str): The key to be stored on jsonstore
data (any): The data to be stored under the key. It can be any Python objects. Will be processed with jsonpickle
timeout (int): The timeout for the http request. Default 5 seconds

client.retrieve(key[, timeout])

Retrieve data in jsonstore with a key

key (str): The key to get on jsonstore
timeout (int): The timeout for the http request. Default 5 seconds

client.delete(key[, timeout])

Delete data in jsonstore with a key

key (str): The key to get on jsonstore
timeout (int): The timeout for the http request. Default 5 seconds
You are viewing a single comment. View All
BenjaminNamika1 (25)

@leon332157 Thanks...
rip it broke for me right before my midterm project, which uses it for a live server, luckily my teach said i could present it on another day...
when do you think that it will be fixed