Steam market parser python

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Get item prices and volumes from the Steam Community Market using Python 3

License

offish/steam_community_market

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Читайте также:  Python запустить команду терминала

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.rst

Get prices and volumes of any item on the Steam Community Market using Python 3.

pip install --upgrade steam_community_market
from steam_community_market import Market, AppID market = Market("USD") item = "AK-47 | Redline (Field-Tested)" market.get_lowest_price(item, AppID.CSGO) 14.98 market.get_volume(item, 730) 1097

«USD» can either be ESteamCurrency, str, int or empty. Find the currencies supported here.

Documentation for this package can be found on readthedocs.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the «Software»), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED «AS IS», WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Get item prices and volumes from the Steam Community Market using Python 3

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Steam marketplace parser. Just for python learning, not serious.

License

doctornkz/steam-scanner

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Disclaimer: Just for python learning, not serious.

Scan page with offers without cookies, with delay. Check anomaly in prices and push notifications in STDOUT and Telegram (as option) Update local database with rifels, knives, etc and price on market.

Python 3 with modules: requests Telegram-cli (optional)

Python3 with modules: requests

  1. git clone
  2. Update properties and paths in py file and tg.sh(optional)
  3. If you want loop scanning — feel free to use while true; do (python ./steam_spider.py; sleep 500); done

About

Steam marketplace parser. Just for python learning, not serious.

Источник

steam_community_market

Get prices and volumes of any item on the Steam Community Market _ using Python 3.

.. contents:: Table of Contents :depth: 1

Installing

Install and update using pip _:

pip install steam_community_market 

Usage

from steam_community_market import Market, AppID market = Market("USD") item = "AK-47 | Redline (Field Tested)" market.get_lowest_price(item, AppID.CSGO) 14.98 market.get_volume(item, 730) 1097 

«USD» can either be ESteamCurrency , str , int or empty. Find the currencies supported here _.

Documentation

Documentation for this package can be found on readthedocs _.

  • Documentation _
  • Releases _
  • Issue tracker _
  • Discord _
  • Donate _

License

Copyright (c) 2020 offish _

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the «Software»), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED «AS IS», WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Источник

steam-reporter 1.1.0

A python tool for parsing and storing transaction information from steam market emails.

Ссылки проекта

Статистика

Метаданные

Лицензия: MIT License (Copyright 2020 Bryan Weissinger Permission is hereby granted, free of charge, to any person obtaini. )

Требует: Python >=3.7

Сопровождающие

Классификаторы

Описание проекта

steam-reporter

steam-reporter is a command line tool that parses steam markent email receipts and stores transaction information in a local SQLite database. It is currently only tested and configured for US based users.

Installation

pip install steam_reporter

Setup

config.ini

Copy the repos default config file to a directory of your choice, such as ~/path_to_config/config.ini . Complete the database , address , and server sections according to your use case. See below for an overview of each section in the config file. If you have multiple email accounts you need to fetch transactions from, create a config.ini file for each email address, and run steam-reporter for each config file. They can point to the same database file if needed.

keyring

steam-reporter uses the python keyring library to securely handle email account credentials. Credentials must be added before use. steam-reporter can be used as a frontend for setting keyring credentials via the -p flag. For example, steam_reporter -p config_file_path/config.ini . You will then be prompted for username and password. If you would like to set the credentials manually, use the service name steam-reporter .

Usage

$ steam_reporter /config_file_path/config.ini 

Syntax

steam_reporter [-h] [—quiet] [—password] [—update] [—mark_seen] config

Positional Arguments

config — the location of the intended config file, such as ~/path_to_config/config.ini

Options

-h , —help — Shows help.
-q , —quiet — Prevents printing to console.
-p , —password — Sets the username and password in the local keyring.
-u , —update — Only adds transactions on and after the last dated transaction in the database.
-m , —mark_seen — Marks fetched emails as seen.

Config File Options

Threads

This is the number of processes to use. It is unlikely to have much impact unless you are processing very large numbers of local files. steam-reporter was moved to multiprocessing, but Threads was kept to remain compatibility for people with existing configs

Emails_Per_Transaction

Rows_Per_Transaction : Number of files/emails to process at one time. Due to the possibility of multiple transaction included in each email, the actual number of commited transactions may be more. Has most impact on emails, not local files. Larger numbers increase memory usage. NOTE . There appears to be a limit to the number of characters supplied to the IMAP fetch command. If this occurs (a FETCH command error, or unterminated line) reduce this number. As id lengths increase (i.e. 200 vs 2000 vs 20000) this number may have to be reduced.

Database

Location of database to use. A new database will be created if it does not exist.

Local_Folder

Uncomment this line to use local eml files instead of fetching from server.

Address

Email address to fetch emails from.

Server

Email server for the address.

Folder

Uncomment this line to search a specific inbox folder. Use this if your steam market transaction emails are not located in your main inbox folder.

Troubleshooting

Failing to Login/App Specific Passwords

Some email providers, such as hotmail, now require an app specific password in order for third party applications to login. If steam-reporter fails to connect to your email account, this may be why. There should be an option in your email account settings to generate an app specific password. Use this in place of your regular password

FETCH Error

When fetching emails from the server, the fetch command can take a series of ids — such as 1:4 , 1,2,3,4 , or 1,3:5 . There appears to be a limit to the length of the command that can be sent. If you get an error regarding a FETCH command error, you probably need to reduce the emails per transaction in your config file.

Источник

Оцените статью