ByMykel / CSGO-API

An unofficial JSON API for Counter-Strike 2 in multiples languages. List of skins, cases, stickers, collections, collectibles, agents, graffiti, keys, patches and music kits.
https://bymykel.github.io/CSGO-API/
MIT License
283 stars 34 forks source link

Add support for new keychain items #125

Closed easton36 closed 3 weeks ago

easton36 commented 3 weeks ago

Ran it to validate that it works. Here is an example item from the new keychains.json:

{
    "id": "keychain-1",
    "name": "Charm | Lil' Ava",
    "description": "This charm can be attached to any weapon you own. Each attached charm can be detached by using a Charm Detachment. Detached charms will be returned to your inventory.",
    "rarity": {
      "id": "rarity_rare",
      "name": "High Grade",
      "color": "#4b69ff"
    },
    "market_hash_name": "Charm | Lil' Ava",
    "image": "https://raw.githubusercontent.com/ByMykel/counter-strike-image-tracker/main/static/panorama/images/econ/keychains/missinglink/kc_missinglink_ava_png.png"
  }
ByMykel commented 3 weeks ago

@easton36 seems like keychainDefinitions is missing.

easton36 commented 3 weeks ago

Sorry! Forgot to add that file to the commit

ByMykel commented 3 weeks ago

LGTM. Thank you very much!!!! ❤️

ezgif-3-eda31815e4