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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4af85b5b1d7796dfe93740f4686a405ce33aa9ffc50defa601602fce2811a46f
|
|
| MD5 |
2e43dd21ab4f2b91de834968a04ee078
|
|
| BLAKE2b-256 |
84210e491737f313931ed41c4574b3f9327fb5438bcb5435b374d8466adfb726
|
File details
Details for the file csfloat_inspector-1.0.0-py3-none-any.whl.
File metadata
- Download URL: csfloat_inspector-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5862a15f1be9d43590f3c2d74f2227a8c41651ce88728c5c75a19e5e1d8fd097
|
|
| MD5 |
eda54293c794f9893b787320cb77a6b3
|
|
| BLAKE2b-256 |
d40f22915b209641cdd162f8d37980f3eedef13f9ddeb3e04be1186ca902ee4d
|