Skip to main content

Item schemas, unusual effects, SKUs and more useful data for TF2 trading

Project description

tf2-data

License Stars Issues Size Discord Code style

Item schemas, unusual effects, SKUs and more which can be useful for TF2 trading. Implemented by tf2-utils.

Donate

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


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.1.0.tar.gz (1.2 MB view hashes)

Uploaded Source

Built Distribution

tf2_data-0.1.0-py3-none-any.whl (1.3 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page