csfloat.py
An API wrapper for the CSFloat API written in Python.
Installing
Python 3.10 or higher is required
To install the library, you can just run the following command:
# Linux/macOS
$ python3 -m pip install -U csfloat.py
# Windows
> py -3 -m pip install -U csfloat.py
To install the development version, do the following:
$ git clone https://github.com/PaxxPatriot/csfloat.py.git
$ cd csfloat.py
$ python3 -m pip install -U .
Quick Example
import asyncio
import csfloat
async def main():
client = csfloat.Client()
# Set your personal API key, which you can get from https://csfloat.com/profile -> Developers -> + New Key
client.set_api_key(api_key="YOUR API KEY HERE")
# Get all listed CS2 items on csfloat.com and print the name to the console
listings = await client.fetch_all_listings()
async for listing in listings:
print(listing.item.name)
if __name__ == "__main__":
asyncio.run(main())
Metadata
Release files for csfloat.py 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| csfloat_py-0.3.0.tar.gz | 13.7 kB | Without provenance | Details for csfloat_py-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| csfloat_py-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for csfloat_py-0.3.0-py3-none-any.whl |
Total release size: 34.0 kB
Release files / csfloat_py-0.3.0.tar.gz
| Download URL | csfloat_py-0.3.0.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8327624e5945a1f05dbc33b6a28581bb714dd5c4a980c8b3d31007e5562d3f91
|
|
BLAKE2b-256 checksum How to use checksums |
cad4047d4fc0a4accfccaa1f54574bc0d439041f30af352ad5e7f92d8c7073db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / csfloat_py-0.3.0-py3-none-any.whl
| Download URL | csfloat_py-0.3.0-py3-none-any.whl |
|---|---|
| Size | 20.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83130cc256306c69f068faf7acc977b249e0299f85a5baaf02a0c1a10ab9e529
|
|
BLAKE2b-256 checksum How to use checksums |
ca341708b32fb14dbbf3685659931e618139196d8b934e7aa8ac1fec7f892335
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Security for csfloat.py 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.