Official Python API Wrapper for Hosting HQ RemoteDB
Project description
RemoteDB
Hosting HQ RemoteDB is a service that provides Hosting HQ clients and non-clients a remote database solution to ease the burden of utilizing complex frameworks to manage their database.
Prerequisites
- RemoteDB API Client ID (Check your Dashboard)
- RemoteDB API Token (Check your Dashboard)
- Validated RemoteDB License (Don't have one? Purchase one here)
System Requirements
- Python 3.6 or Higher
Usage
from remotedb import Client
myRemoteDB = Client("client-id", "token")
.set(key, value, [expire])
# Select ONE of these methods
myRemoteDB.set("key", "value", "optional expire time in seconds") # Simplest
myRemoteDB["key"] = value # Set only a key and value
myRemoteDB["key"] = (value, "expire time in seconds") # Set a key, value and expire time
.get(key)
# Select ONE of these methods
myRemoteDB.get("key")
myRemoteDB["key"]
.delete(key)
Select ONE of these methods
myRemoteDB.delete("key")
del myRemoteDB["key"]
Response Options
.set(key, value, [expire])
#getting value using key
s = myRemoteDB.set("key", "value", "expire") # Returns the default object
s.status # Returns the status code
s.message # Returns the response message
s.value # Returns the value field
s.key # Returns the key field
s.expire # Returns the expire field
s.raw # Returns the raw JSON response
.get(key)
#getting value using key
s = myRemoteDB.get("key") # Returns the default object
s.status # Returns the status code
s.message # Returns the response message
s.value # Returns the value field
s.key # Returns the key field
s.raw # Returns the raw JSON response
.delete(key)
#getting value using key
s = myRemoteDB.delete("key") # Returns the default object
s.status # Returns the status code
s.message # Returns the response message
s.key # Returns the key field
s.raw # Returns the raw JSON response
Documentation
You can view our API documentation including API changelog at https://docs.hostinghq.xyz/api
Support
You can get support with RemoteDB and our packages in our Official Discord Server
Contributing
Contribution to our packages is restricted to authorized contributors. If you believe a change needs to be made, open an issue and we will review it.
License
Hosting HQ RemoteDB Python Package is Licensed under GPL-3.0. The full license can be viewed here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file remotedb-1.0.0.tar.gz.
File metadata
- Download URL: remotedb-1.0.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce2570b2f3a940f0e26ad5070ffacaa6d19d37695e6777312b6efd9260d167a0
|
|
| MD5 |
db7b4f27499339c10e5f1de41f4bc47d
|
|
| BLAKE2b-256 |
235c08a0b6ce55b1cc429d2b5ac03c9f9c1d6af97ff9d1de62fd2210c1fe4844
|
File details
Details for the file remotedb-1.0.0-py3-none-any.whl.
File metadata
- Download URL: remotedb-1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04bfa3f0dd0c5c253698cebe34d388a3215ac3b4dc5ed5c0feda4b3fd5c151a3
|
|
| MD5 |
605486a24c52f2622722415947d8e9d2
|
|
| BLAKE2b-256 |
4937155471a017edac93f02f10e2bab2b713d388b65ee580346de18c869b8b2a
|