Skip to main content

An inspector of CSFloat

Project description

csfloat_inspector

A wheel that helps you get a cs2 item information with csfloat inspect API

Usage

Get data of an item

import asyncio
from csfloat_inspector import CSFloatInspector

inspector = CSFloatInspector()

async def main():
    print("[*] Inspecting item...")
    try:
        data = await inspector.inspect("steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561198309889674A45731137503D190491363065250641")
        print(f"[*] Successfully retrieved data: {data}")
    except Exception as e:
        import traceback
        traceback.print_exc()
        print(f"[!] An error occurred: {e}")

if __name__ == "__main__":
    asyncio.run(main())

Get the image of the item

import asyncio
from csfloat_inspector import CSFloatInspector

inspector = CSFloatInspector()

async def main():
    print("[*] Fetching item image URL...")
    try:
        img_url = await inspector.getimg("steam://rungame/730/76561202255233023/+csgo_econ_action_preview%20S76561198309889674A45731137503D190491363065250641")
        print(f"[*] Successfully retrieved image URL: {img_url}")
    except Exception as e:
        import traceback
        traceback.print_exc()
        print(f"[!] An error occurred: {e}")
        
if __name__ == "__main__":
    asyncio.run(main())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csfloat_inspector-1.0.1.tar.gz (40.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

csfloat_inspector-1.0.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file csfloat_inspector-1.0.1.tar.gz.

File metadata

  • Download URL: csfloat_inspector-1.0.1.tar.gz
  • Upload date:
  • Size: 40.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for csfloat_inspector-1.0.1.tar.gz
Algorithm Hash digest
SHA256 91cebc242085c638dcab4e2cce2df9c76a182bb0bfd8f155e2528c455fe47a68
MD5 e7d15b318b67ab3dbba192ca1941dfd5
BLAKE2b-256 9c9742785b410becaaef5c673092c8259d0e4c5456334b52d6d4b1e31cd01cb7

See more details on using hashes here.

File details

Details for the file csfloat_inspector-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for csfloat_inspector-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a4bb276e567d6cd2b116d2417038f71cf080429253759a0786196d3b028c9dcf
MD5 e3f2ae4d54e03055e75e9d9f107f02ee
BLAKE2b-256 a1b43ed8eda0f1dfd9896506c9ff690f63e79acac5f298468da7c0b1cddfce24

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page