Para você usar essa Api é necessário:
- Transferir todos os dados do seu inventário para um csv usando o BakkesMod.
- Baixar esse pacote pelo pip.
pip install rl-inventory-api
Essa Api tem como função principal facilitar obtenção de dados específicos de seu inventário de maneira simples, por exemplo, imagine poder descobrir quantos itens non crate você tem:
from rl_inventory_api import Inventory
inv = Inventory.read()
my_non_crate_items = inv.filter_non_crate().items
amount_of_non_crate = len(my_non_crate_items)
Pronto, com apenas 4 linhas de código você conseguiu obter todos os dados dos seus itens non crate e também a quantidade de itens non-crate que você tem.
Metadata
Release files for rl-inventory-api 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rl-inventory-api-0.0.2.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rl_inventory_api-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.7 kB
Release files / rl-inventory-api-0.0.2.tar.gz
| Download URL | rl-inventory-api-0.0.2.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7770a6b4187a7877af81253883b663724918187382d7cc37cde57bf7901528d
|
|
BLAKE2b-256 checksum How to use checksums |
c019d7bab0f319a2fbdde61ac8f3a93413352c622f59354354df2a7ea31abae2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / rl_inventory_api-0.0.2-py3-none-any.whl
| Download URL | rl_inventory_api-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2244d6665fc580e8fef6033192b48c6cfd816df7182f4ae6d05f9bb8e9a36b93
|
|
BLAKE2b-256 checksum How to use checksums |
2ebe38bc148d7934249b693565f126f071c8c61e6fb4bb40433657f50c60d181
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|