Skip to content

Commit

Permalink
v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
amoAR committed Sep 17, 2024
1 parent 36a0887 commit dbc9059
Show file tree
Hide file tree
Showing 10 changed files with 276 additions and 146 deletions.
Binary file modified Docs/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Docs/screenshot2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Steam Calculator (Based on market items) CLI
# Steam Calculator (Based on market item) CLI

This program calculates the price of game/bundle/package on Steam based on the sale of an item in the market.\
Then, according to dollar exchange rate, calculates final Toman price.

> Program changed from Turkish Lira to MENA USD
> Program now works with Ukrainian hryvnia (UAH ▶ IRT)
## Features
- Can get the final price of the product in Steam only with appid
Expand All @@ -19,21 +19,20 @@ Then, according to dollar exchange rate, calculates final Toman price.
You can enter desired market item (like CSGO case or TF2 key) that you want the final price to be calculated by. this part includes `app_id` and `name_id` (and item_name, which is completely optional), which are set to `440`(Team Fortress 2) and `1`(Mann Co. Supply Crate Key) by default.

### Currencies
This section is for specifying the character as the symbol of the origin and destination currency ($ --> IRT).
This section is for specifying the character as the symbol of the origin and destination currency ( --> IRT).

### Params
To accessing player item data and checking the availability of the item specified in it, this section needs to be filled. `steam_id` is your `steamID64` and `steam_key` is your `Steam Web API Key`.

### Src
It's currency exchange-rate api. (Can't be changed)
It's currency exchange-rate api. (One-Api [website](https://one-api.ir/2022/12/25/api-قیمت-ارز،-سکه،-طلا،-نفت-و-فلزات-گرانبه/))

## How to use
1. Download the latest [release](https://github.com/amoAR/SteamCalculator/releases).
2. Fill the configuration file (Config.json) according to the above description.
3. Install python non built-in modules ([requests](https://pypi.org/project/requests/), [js2py](https://pypi.org/project/Js2Py/), [tabulate](https://pypi.org/project/tabulate/)).
4. Run script by run.cmd file.
3. Run script by run.bat file.

> Since Steam has increased the request rate limit, it's best to wait a bit after each request and run again to avoid HTTP 429.
> Since Steam has increased the request rate limit, it's best to wait a bit after each request and run again to avoid HTTP 429/Too Many Retries.
## Screenshots

Expand Down
Loading

0 comments on commit dbc9059

Please sign in to comment.