GithubHelp home page GithubHelp logo

fabieu / steam-market-history Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 2.0 2.15 MB

An easy-to-use CLI to export your steam market history to various formats

License: MIT License

Python 59.42% HTML 40.58%
steam steam-market-history python csv

steam-market-history's Introduction

PyPI PyPI - Python Version Gitlab pipeline status GitLab issues GitLab merge requests GitLab


Logo

steam-market-history

An easy-to-use CLI to export your steam market history to various formats
View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

steam-market-history is a command line tool written in Python which allows you to extract your entire Steam Market History with all transaction (sales/purchases) in a CSV or HTML file.

Key features

  • Extract your entire Steam Market History with all transactions to a HTML, CSV or JSON file
  • Overview of all transactions on a user-friendly webpage with searchable and filterable results

Built With

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • Python >= 3.8

Installation

Pip (recommended):

pip install steam-market-history

Manual:

  1. Clone the repo
    git clone https://gitlab.com/sustineo/steam-market-history.git
  2. Install poetry (if not already installed)
    pip install poetry
  3. Install dependencies and start virtual environment
    poetry install && poetry shell

(back to top)

Usage

Currently, the following commands are supported:

export

Export your steam market history to an HTML, JSON or CSV file

When running the tool you will be prompted to insert your steam credentials. All processing is done locally on your computer. This package does not save your credentials in any way.

Options:

  • --csv - Export market transactions to csv file
  • --html - Export market transactions to html file
  • --json - Export market transactions to json file
  • --path - Output directory for all file based operations (default: current working directory)
  • --launch / --no-launch - Automatically open file(s) after export (default: --launch)
  • --cache / --no-cache - Create a file cache for all market transactions (default: --no-cache)
  • --interactive / --non-interactive - Interactive or non-interactive steam authentication [default: --interactive]

Examples:

Export your steam market history to a HTML file:

steam-market-history export --html

Export your steam market history to a CSV file in a specific directory:

steam-market-history export --csv --path /tmp/steam-market-history

version

Display detailed information about this package. This includes the version, the license and the authors.

steam-market-history version

(back to top)

Roadmap

  • Add options of verbosity

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Acknowledgments

(back to top)

Disclaimer:

The Steam Market History Exported is a community project and is not affiliated with Valve or Steam.

(back to top)

steam-market-history's People

Contributors

fabieu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

steam-market-history's Issues

KeyError: 'transfer_parameters'

Hi, when I try to execute command steam-market-history export --json get the following error
KeyError: 'transfer_parameters' in webauth.py", line 209, in login self._finalize_login(resp)

I'm not using the Linux system, I'm using this project on Windows10 and using Pycharm to run it

using Python 3.12.0
steam-market-history Version: 3.1.0

Unable to find market listing item image

Bug: After signing in with steam-market-history CLI, command fails to find listing item image and errors out.

Steps to replicate:

  1. Run the following command: steam-market-history export --csv --path
  2. Login to CLI
  3. Error will occur after a few seconds

Traceback:
File "<path>\steam_market_history\modules\steam.py", line 63, in fetch_market_history market_listing_item_img = row.find("img", class_="market_listing_item_img")["src"] TypeError: 'NoneType' object is not subscriptable

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.