A Roblox Database API wrapper.
Project description
Rodatabase.py
How to install?
pip install rodatabase.py
How to start using the Library?
from robase.imports import DatabaseClient
DB = DatabaseClient(universeId=YOUR_ID_HERE, token="YOUR_API_TOKEN_HERE", ROBLOSECURITY="YOUR_.ROBlOSECURITY_HERE")
All functions
await DB.get_datastores()
Datastore = await DB.get_datastore("Test1")
await Datastore.get_keys(datastore="ExampleDatastore", limit=99)
await Datastore.set_data(datastore="ExampleDatastore", key="ExampleKey", data="ExampleData")
await Datastore.increment_data(datastore="ExampleDatastore", key="ExampleKey", incrementby=1)
await Datastore.delete_data(datastore="ExampleDatastore", key="ExampleKey")
await Datastore.get_data(datastore="ExampleDatastore", key="ExampleKey")
For calling set_data data must be a JSON object.
All JSON objects:
String
Number
JSON object
Array
Boolean
null
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
rodatabase.py-2.2.1.tar.gz
(7.0 kB
view details)
File details
Details for the file rodatabase.py-2.2.1.tar.gz.
File metadata
- Download URL: rodatabase.py-2.2.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a090e32ee7d1c844c94f24108c929eca90fdbcd56014035eb146a4743add12f
|
|
| MD5 |
c74168f5de0850bc9d161c4f8028f8f5
|
|
| BLAKE2b-256 |
78621244a02cbadc4f9a732c3176b8457502384bcd901aea5aa1e0e06741bc68
|