Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/woctezuma/steampy-buy-orders

Automatically set buy orders on the Steam Market with steampy.
https://github.com/woctezuma/steampy-buy-orders

steam steam-api steam-cards steam-community-market steam-data steam-economy-enhancer steam-inventory steam-market steam-market-search steam-market-util steam-marketplace steam-query steam-tools steam-trading-cards steam-web steam-web-api steam-webapi trading-card trading-cards

Last synced: 16 days ago
JSON representation

Automatically set buy orders on the Steam Market with steampy.

Awesome Lists containing this project

README

        

# Steampy: buy orders

[![Code Quality][codacy-image]][codacy]

> [!Warning]
> I have cleaned up the original script, which was messy, but I have not tested the result. **Use at your own risk!**

This repository contains Python code to automatically set buy orders with [`steampy`][steampy].

## Requirements

- Install the latest version of [Python 3.X][python] (at least version 3.10).
- Install the required packages:

```bash
pip install -r requirements.txt
```

## Data

- Set your secrets in `data/secrets.json`:
```json
{
"api_key": "PASTE_YOUR_SECRET_HERE",
"username": "PASTE_YOUR_SECRET_HERE",
"password": "PASTE_YOUR_SECRET_HERE",
"steam_guard": "PASTE_YOUR_SECRET_HERE"
}
```

- Get a snapshot of the [listings of foil cards][foil-cards] from [`steam-market`][steam-market].

- Specify the target prices along with the appIDs of interest in `data/price_to_appids.json`.

## Usage

- To automatically set buy orders, run:

```bash
python apply_workflow.py
```

## References

- [`bukson/steampy`][steampy]: a Steam trading library for Python,
- [`woctezuma/steam-market`][steam-market]: find arbitrages on the Steam Market.

[python]:
[steampy]:
[steam-market]:
[foil-cards]:

[pyup]:
[dependency-image]:
[python3-image]:
[codacy]:
[codacy-image]: