Item schemas, unusual effects, SKUs and more useful data for TF2 trading
Project description
tf2-data
Item schemas, unusual effects, SKUs and more which can be useful for TF2 trading. Implemented by tf2-utils.
Donate
- BTC:
bc1qntlxs7v76j0zpgkwm62f6z0spsvyezhcmsp0z2
- Steam Trade Offer
Setup
Install
pip install tf2-data
# or
python -m pip install tf2-data
Updating
pip install --upgrade tf2-data
# or
python -m pip install --upgrade tf2-data
Testing
# tf2-data/
python -m unittest
Update files after new update
To update the local files after a TF2 update run this snippet.
from tf2_data.schema import Schema, SchemaItems, IEconItems
api_key = "STEAM_API_KEY"
schema = Schema(api_key=api_key)
schema.set_effects()
ieconitems = IEconItems(api_key)
items = ieconitems.set_all_schema_items()
schema_items = SchemaItems(items)
schema_items.map_defindex_name()
schema_items.map_defindex_full_name()
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
tf2_data-0.2.0.tar.gz
(1.2 MB
view details)
Built Distribution
File details
Details for the file tf2_data-0.2.0.tar.gz
.
File metadata
- Download URL: tf2_data-0.2.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40f57b00f0e87e12e942cdd94ad793f23c4e041d07c3fef68366dabe85c465a6 |
|
MD5 | f3a225c7bb24ef5a3db42147900f0b92 |
|
BLAKE2b-256 | 2a93131728386e17423ba08103e05fd0b8ef0c9a25f0ae2f86e3e95333697dcb |
File details
Details for the file tf2_data-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: tf2_data-0.2.0-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61bcdebeff6ffe0ac109731acbed62b8f269126eb71de5a8f1a1805b6e9e630c |
|
MD5 | 6d94ac105e14ec2a08c8073cc6d759ea |
|
BLAKE2b-256 | e0062e67f1141b5fd5a3f258fe8e9402e8416d95ab8736ca8fed8a8a2dc5c688 |