Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 1.54 KB

README.md

File metadata and controls

74 lines (49 loc) · 1.54 KB

Special thanks to the generous sponsorship by:



buff2steam

make money from buff.163.com

简体中文

head_image

Table of Contents

Table of contents generated with markdown-toc

requirements

pip install -r requirements.txt

usage

python3 main.py


buff_session && more config

# enter your session
buff_session = 'session=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

# buff id blacklist
buff_id_blacklist = (3986,)

# buff type blacklist
buff_type_blacklist = ('tool',)

# game name in alphabet
game = 'dota2'

# game appid in number
game_appid = '570'

# currency id(23 => CNY)
currency = 23  # CNY

# buff says price ratio
accept_buff_threshold = Decimal(0.6)

# sell now ratio
highest_buy_order_ratio_threshold = Decimal(0.75)

# CNY * 100
min_price = 1000
max_price = 30000

# steam api request interval
steam_api_sleep = 30

License

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