csfloat_client
An unofficial, lightweight Python API wrapper for the CSFloat marketplace.
csfloat_client provides a modern, easy-to-use interface built on async/await
to interact with all CSFloat marketplace features directly from Python. It is
kept up-to-date with the CSFloat API and includes thorough documentation for
every function.
This library is centered around a single Client class, which is initialized
with an API key and grants access to all CSFloat activities and information,
including listings, offers, buy orders and more.
Installation
pip install csfloat_client
Quick Start
import asyncio
from csfloat_client import Client
async def main():
async with Client(api_key="YOUR_API_KEY") as client:
listings = await client.get_listings(sort_by='best_deal', min_ref_qty=20)
print(f"{listings[0].item.item_name} - {listings[0].price}")
asyncio.run(main())
Features
- Fully asynchronous (built on
aiohttp) - Validated response models via
pydantic - Typed (
py.typed) for full IDE/mypy support - Thorough documentation generated with
pdoc
Documentation
Full documentation: https://edlzitrone.github.io/csfloat-client/
License
This project is licensed under the MIT License.
Metadata
Release files for csfloat-client 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| csfloat_client-0.1.3.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| csfloat_client-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.8 kB
Release files / csfloat_client-0.1.3.tar.gz
| Download URL | csfloat_client-0.1.3.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfe41d62a86577db3d0ddc46ecc6743ee6b8c56cd5458daa50feee0d428fe922
|
|
BLAKE2b-256 checksum How to use checksums |
52dbcbe8c3e9cd6e9aa970e693e7ee3a3f77d2d1db6c54185e59c2d321dd68c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / csfloat_client-0.1.3-py3-none-any.whl
| Download URL | csfloat_client-0.1.3-py3-none-any.whl |
|---|---|
| Size | 19.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4f45bfbe5ff11325184edf5238f97f2a0829ec2fa40c8e5f02dcbd052abf102
|
|
BLAKE2b-256 checksum How to use checksums |
24c1f6e2f0c9d1c932551ff5ae1a94ff8451ff1ccf931b7082d0a459cb36b562
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|