Skip to main content

roliLib banner

Installation

pip install rolilib

Examples

Item's name and RAP

import rolilib

item = rolilib.getItem('138932314')   # Item's id

print('Name:', item.name)
print('RAP:', item.rap)

Output:

Name: Dominus Aureus
RAP: 4316150

Player's name, id and RAP

import rolilib

player = rolilib.getPlayer('Rolimon')   # Letter case does not matter

print('Name:', player.name)
print('Id:', player.id)
print('RAP:', player.rap)

print('--------------------')

player = rolilib.getPlayer('489694314')   # Also, you can pass id

print('Name:', player.name)
print('Id:', player.id)
print('RAP:', player.rap)

Output:

Name: Rolimon
Id: 152588760
RAP: 478207
--------------------
Name: And23102
Id: 489694314
RAP: 2155

Every limited's name

import rolilib

limiteds = rolilib.getLimiteds()   # Gets data of every limited item. From oldest to newest
print(limiteds.name)   # Prints only names of limiteds

Output: (I won't show the full output because it contains more than 50,000 characters)

['Red Baseball Cap', 'Classic ROBLOX Viking Helm', 'The Classic ROBLOX Fedora', 'Domino Crown' ... 'Vault Commando', 'Vault Swordpack', 'Vault Glider Wings', 'Daemonshank']

Documentation

rolilib.getItem()

getItem().id

Returns item's id

getItem().name

Returns item's name

getItem().acronym

Returns item's acronym

getItem().rap

Returns item's rap

getItem().value

Returns item's value

getItem().default_value

Returns item's original/default value

getItem().demand

Returns item's demand

Unassigned Terrible Low Normal High Amazing
-1 0 1 2 3 4

getItem().trend

Returns item's trend

Unassigned Unstable Lowering Stable Raising Fluctuating
-1 0 1 2 3 4

getItem().projected

Returns whether the item is projected

False True
-1 1

getItem().hyped

Returns whether the item is hyped

False True
-1 1

getItem().rare

Returns whether the item is rare

False True
-1 1

rolilib.getPlayer()

getPlayer().id

Returns players's id

getPlayer().name

Returns players's username

getPlayer().value

Returns players's value

getPlayer().rap

Returns players's rap

getPlayer().rank

Returns players's rank in leaderboard

Outside top 1000 Inside top 1000
None Value from 1 to 1000

getPlayer().premium

Returns whether the player has premium

getPlayer().privacy_enabled

Returns whether the player has inventory private

getPlayer().terminated

Returns whether the player is terminated

getPlayer().stats_updated

Returns when player's stats were updated the last time. Returns unix timestamp

getPlayer().stats_updated_utc

Returns when player's stats were updated the last time. Returns date in UTC

getPlayer().last_scan

Returns when player's stats were scanned the last time. Returns unix timestamp

getPlayer().last_scan_utc

Returns when player's stats were scanned the last time. Returns date in UTC

getPlayer().last_online

Returns when the player was online last time. Returns unix timestamp

getPlayer().last_online_utc

Returns when the player was online last time. Returns date in UTC

getPlayer().last_location

Returns where was the player when he was checked the last time

You can also try out these packages

rolimons.py

rolipy

Metadata

Release files for rolilib 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rolilib 0.1.2
File Size Uploaded Provenance Actions
rolilib-0.1.2.tar.gz 4.0 kB Without provenance Details for rolilib-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rolilib 0.1.2
File Interpreter ABI Platform Actions
rolilib-0.1.2-py3-none-any.whl Python 3 none any Details for rolilib-0.1.2-py3-none-any.whl

Total release size: 8.8 kB

Release files / rolilib-0.1.2.tar.gz

Download URL rolilib-0.1.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
271e02792c066984db303e03939c57a28ffc19b1d652659bfea36d68b6fc6c44
BLAKE2b-256 checksum
How to use checksums
679a83ed19218d01018451c107a379ca63d7ba24a6b6b4276e7edb17ce0e880a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.3

Release files / rolilib-0.1.2-py3-none-any.whl

Download URL rolilib-0.1.2-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b10c5e69f70a91263574e3ffcdcd7939b52c7908be0dbf830d26f278123e2a08
BLAKE2b-256 checksum
How to use checksums
aed57c840902a5ec55ce7bbd7801bf3a475c6b6ee29da4b0fecbb938156fad56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.3

Security for rolilib 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page