Skip to content

Commit

Permalink
Merge pull request #7 from offish/v0.0.8
Browse files Browse the repository at this point in the history
v0.0.8
  • Loading branch information
offish authored Jul 19, 2024
2 parents e52b12b + 210f8af commit b0d995a
Show file tree
Hide file tree
Showing 6 changed files with 45,073 additions and 17,707 deletions.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,23 @@ python -m pip install --upgrade tf2-data
## Testing
```bash
# tf2-data/
python -m unittest
python -m unittest
```

## Update files after new update
To update the local files after a TF2 update run this snippet.

```python
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()
```
2 changes: 1 addition & 1 deletion src/tf2_data/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__title__ = "tf2-data"
__author__ = "offish"
__version__ = "0.0.7"
__version__ = "0.0.8"
__license__ = "MIT"

from .schema import Schema, SchemaItems, IEconItems
Expand Down
Loading

0 comments on commit b0d995a

Please sign in to comment.