GithubHelp home page GithubHelp logo

amoar / steamcalculator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 569 KB

Calculator of the final purchase price from Steam based on market item

Python 81.68% Batchfile 0.79% JavaScript 17.53%
steam steam-api steam-api-cli steam-cli steammarket tf2

steamcalculator's Introduction

Steam Calculator (Based on market items) 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

Features

  • Can get the final price of the product in Steam only with appid
  • Considers current balance of your account in calculations
  • Calculates steam fee/seller fee for items in market
  • Finds the highest buy order available at the moment
  • Declares account balance after selling items and buying the desired product
  • Informs how many items you have available for sale

Configuration (config.json)

Item

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).

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)

How to use

  1. Download the latest release.
  2. Fill the configuration file (Config.json) according to the above description.
  3. Install python non built-in modules (requests, js2py, tabulate).
  4. Run script by run.cmd 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.

Screenshots

screenshot screenshot2

Credits

steamcalculator's People

Contributors

amoar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.