Skip to main content

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()
await DB.get_keys(datastore="ExampleDatastore", limit=99)
await DB.set_data(datastore="ExampleDatastore", key="ExampleKey", data="ExampleData") 
await DB.increment_data(datastore="ExampleDatastore", key="ExampleKey", incrementby=1)
await DB.delete_data(datastore="ExampleDatastore", key="ExampleKey")
await DB.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


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-1.1.9.tar.gz (5.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page