All Projects → hldh214 → Buff2steam

hldh214 / Buff2steam

Licence: unlicense
Find item which cheaper than steamcommunity from buff

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Buff2steam

Personal Influxdb
Import data from various APIs into InfluxDB
Stars: ✭ 51 (-36.25%)
Mutual labels:  steam
Protondb For Steam
Shows ratings from protondb.com on Steam
Stars: ✭ 61 (-23.75%)
Mutual labels:  steam
Tf2 Automatic
A free and open source, fully automated TF2 trading bot, advertising on backpack.tf using prices from prices.tf
Stars: ✭ 74 (-7.5%)
Mutual labels:  steam
Oxygennotincluded Japanese
Oxygen Not Included 日本語化
Stars: ✭ 54 (-32.5%)
Mutual labels:  steam
Giveawaycompanion
Saves your time on games giveaway sites.
Stars: ✭ 59 (-26.25%)
Mutual labels:  steam
Ulib
ULib: A Lua library for more rapid development on Garry's Mod servers
Stars: ✭ 63 (-21.25%)
Mutual labels:  steam
Steam Bundle Sites Extension
A simple extension for bundles sites selling Steam games
Stars: ✭ 47 (-41.25%)
Mutual labels:  steam
Steamlink Launcher
Steamlink launcher for OSMC
Stars: ✭ 78 (-2.5%)
Mutual labels:  steam
Steam Buddy
A web interface for managing Steam remotely
Stars: ✭ 61 (-23.75%)
Mutual labels:  steam
Greenworks
a node.js plugin to integrate nw.js/electron games with steamworks
Stars: ✭ 1,186 (+1382.5%)
Mutual labels:  steam
Steamwebpipes
🚀 Pushes Steam changelists to WebSocket clients
Stars: ✭ 56 (-30%)
Mutual labels:  steam
Steam Card Bot Pro
An free open source, fully automated Steam Trade Cards bot - Level Up Bot with all features, support and endless customization + much more
Stars: ✭ 57 (-28.75%)
Mutual labels:  steam
Screenplay
READONLY MIRROR (https://gitlab.com/kelteseth/screenplay) - Modern, Cross Plattform, Live Wallpaper & Widgets ! Free on Steam : https://store.steampowered.com/app/672870/ScreenPlay/
Stars: ✭ 70 (-12.5%)
Mutual labels:  steam
Tcpinginfoview Classic
TCP 连接延迟测试
Stars: ✭ 54 (-32.5%)
Mutual labels:  steam
Steamworks
Exposing SteamWorks functions to SourcePawn.
Stars: ✭ 70 (-12.5%)
Mutual labels:  steam
Air For Steam
An elegant and customizable skin for Steam
Stars: ✭ 1,044 (+1205%)
Mutual labels:  steam
Esteemed Innovation
The Esteemed Innovation mod for Minecraft focused around steam power tech and innovative content. Formerly known as Flaxbeard's Steam Power.
Stars: ✭ 62 (-22.5%)
Mutual labels:  steam
Spacehook
minecraft premium undeteck cheat!
Stars: ✭ 80 (+0%)
Mutual labels:  steam
Steamcmd Autoupdate Any Gameserver
Windows SteamCMD to autoupdate and install any game server steam cmd settings configurable lots of useful features. This batch script will keep your game servers automaticly updated updating intervals announce the server is shutting down for updates etc all configurable.
Stars: ✭ 77 (-3.75%)
Mutual labels:  steam
Steamguard Cli
A linux utility for generating 2FA codes for Steam and managing Steam trade confirmations.
Stars: ✭ 73 (-8.75%)
Mutual labels:  steam

Disclaimer

Recently there are many people told me that buff is banning accounts that use this project.

So be careful and take your own risk to enjoy~

Special thanks to the generous sponsorship by:

logo

buff2steam

Find item which cheaper than steamcommunity from buff

简体中文

Table of Contents

Table of contents generated with markdown-toc

Introduction

buff2steam is a script, for crawling items from buff which cheaper than steamcommunity.

demo

After set threshold in the config.json file, the script will automatically calculate the price difference and filter out matching items, as shown above.

  • buff_id means goods_id in url: https://buff.163.com/market/goods?goods_id=2334
  • price means this item's price on buff
  • sell/want means this item's sell/buy order count on steamcommunity market
  • b_o_ratio means the ratio obtained by selling this item to the highest buy order in the steamcommunity market immediately (after deducting the handling fee)
  • ratio means the possible ratio obtained by selling this item with the lowest sell order price in the steamcommunity market (after deducting the handling fee)

The last two ratios are the ratio of the price difference. The lower the value, the better, and it means that you have obtained the discounted steam wallet balance through this transaction.

Then you can buy items from buff manually and sell them to the steamcommunity.

requirements

python >= 3.7

pip install -r requirements.txt

cp config.sample.json config.json

usage

python -m buff2steam

config

config.json

{
    "main": {
        "game": "csgo",  // dota2
        "game_appid": "730",  // 570
        "accept_buff_threshold": 0.65,  // acceptable ratio
        "min_price": 500,  // CNY, 500 == 5 yuan
        "max_price": 30000  // CNY, 30000 == 300 yuan
    },
    "buff": {
        "requests_kwargs": {
            "headers": {
                "cookie": "session=1-GyCKVt_sSLoNtu2yeM9hY8FPeWTr8Q6ayOYIifqxKLM82044786689"
            }
        }
    },
    "steam": {
        "request_interval": 20,  // steam api request interval (in seconds)
        "requests_kwargs": {
            // if you dont need proxy then remove it
            "proxies": {
                "https": "http://127.0.0.1:7890"
            }
        }
    }
}

buff_session

session

Chrome -> F12 -> Network Tab -> Refresh webpage -> Doc filter -> Response Headers find session in Set-Cookie and paste it into config.json -> buff.requests_kwargs.headers.cookie

StarChart

starchart

license

buff2steam is open-source software licensed under the Unlicense License. See the LICENSE file for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].