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.0.tar.gz (4.1 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.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: csfloat_inspector-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 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.0.tar.gz
Algorithm Hash digest
SHA256 4af85b5b1d7796dfe93740f4686a405ce33aa9ffc50defa601602fce2811a46f
MD5 2e43dd21ab4f2b91de834968a04ee078
BLAKE2b-256 84210e491737f313931ed41c4574b3f9327fb5438bcb5435b374d8466adfb726

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for csfloat_inspector-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5862a15f1be9d43590f3c2d74f2227a8c41651ce88728c5c75a19e5e1d8fd097
MD5 eda54293c794f9893b787320cb77a6b3
BLAKE2b-256 d40f22915b209641cdd162f8d37980f3eedef13f9ddeb3e04be1186ca902ee4d

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