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()
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


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)

Uploaded Source

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

Hashes for rodatabase.py-2.2.1.tar.gz
Algorithm Hash digest
SHA256 1a090e32ee7d1c844c94f24108c929eca90fdbcd56014035eb146a4743add12f
MD5 c74168f5de0850bc9d161c4f8028f8f5
BLAKE2b-256 78621244a02cbadc4f9a732c3176b8457502384bcd901aea5aa1e0e06741bc68

See more details on using hashes here.

Supported by

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