wa1ker38552 / rolimons.py

A Python API wrapper for Rolimons
Apache License 2.0
10 stars 4 forks source link

Are you able to get new limiteds list or inventory of a player? #16

Closed ThunderFound closed 3 months ago

ThunderFound commented 3 months ago

Can find it. If i remember correctly, this was a thing in an older version

image image

wa1ker38552 commented 3 months ago

I think I removed fetching inventory because there was no Rolimons endpoint for it, previously, I did it using Roblox's API, I'm currently on vacation, but I'll try to add it back in once I'm back.

ThunderFound commented 3 months ago

I think I removed fetching inventory because there was no Rolimons endpoint for it, previously, I did it using Roblox's API, I'm currently on vacation, but I'll try to add it back in once I'm back.

Sure!

ThunderFound commented 3 months ago

I also found a bug or smth else. Maybe this bug is on rolimons side. When you are trying to get value of this item: https://www.roblox.com/catalog/85754656/Tyrannosaurus with .value func, it returns "Trex" value

image image

wa1ker38552 commented 3 months ago

Oh I think I know why, its because in the Rolimon's API, it returns data as a list so if value isn't there everything gets shifted forward and the next one is probably acronym. I'll add a fix for this when I do the inventory scanning thing as well. I get back in 2 days.

wa1ker38552 commented 3 months ago

I fixed the bug with value being replaced by acronym if it doesn't have an assigned value and added a new method under players called fetch_inventory() which returns a list of rolimons.item objects, hope this helps!👍