Skip to main content

csfloat_client

An unofficial, lightweight Python API wrapper for the CSFloat marketplace.


PyPI version Python versions Documentation


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.

Download files

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

Source Distribution

csfloat_client-0.1.3.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

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

csfloat_client-0.1.3-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file csfloat_client-0.1.3.tar.gz.

File metadata

  • Download URL: csfloat_client-0.1.3.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for csfloat_client-0.1.3.tar.gz
Algorithm Hash digest
SHA256 dfe41d62a86577db3d0ddc46ecc6743ee6b8c56cd5458daa50feee0d428fe922
MD5 bd9b0f8cc97b7a95f7dbde73028ee4b0
BLAKE2b-256 52dbcbe8c3e9cd6e9aa970e693e7ee3a3f77d2d1db6c54185e59c2d321dd68c3

See more details on using hashes here.

File details

Details for the file csfloat_client-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: csfloat_client-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for csfloat_client-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c4f45bfbe5ff11325184edf5238f97f2a0829ec2fa40c8e5f02dcbd052abf102
MD5 dd40f1819beaaa69f214934c60dfdf55
BLAKE2b-256 24c1f6e2f0c9d1c932551ff5ae1a94ff8451ff1ccf931b7082d0a459cb36b562

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page