Metadata-Version: 2.1
Name: rodatabase.py
Version: 1.0.4
Summary: A Roblox Database API wrapper.
Home-page: https://github.com/koen1711/rodatabase.py
Author: koen_1711
License: UNKNOWN
Project-URL: Discord, https://discord.gg/76kdgMd6h3
Project-URL: GitHub, https://github.com/koen1711/rodatabase.py
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Framework :: AsyncIO
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# 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
```


