Skip to content

Skin float cap #102

Closed Answered by ByMykel
quebeh asked this question in Q&A
Feb 26, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi. Actually I am already doing that here skins_not_grouped.json check min_float and max_float.

If you want to do it by yourself you have to take the items_game.txt and parse it to json like I am doing on my repo.

Then go throught all that data and map your own JSON like you want (check these files to know how I do for my API).

The easiest path to archive your goal is to take skins_not_grouped.json and map it removing everything but the attributes you need to get something like:

[
 {
        "name": "Desert Eagle | Urban DDPAT (Factory New)",
        "min_float": 0.06,
        "max_float": 0.8,
    },
    {
        "name": "Desert Eagle | Urban DDPAT (Minimal Wear)",
        "min_float": 0…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@quebeh
Comment options

Answer selected by quebeh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants