Skip to content

psifertex/SteamGiftGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steam Gift Card Generator

This project generates Steam gift cards as PDFs using game details fetched from the Steam store.

Features

  • Fetches game details from the Steam store using the game ID or name.
  • Generates a PDF with gift cards containing game details and a gift code.
  • Supports batch processing from a CSV file.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/SteamGiftGenerator.git
    cd SteamGiftGenerator
  2. Install the required dependencies:

    pip install -r requirements.txt

Preview

Preview

Usage

  1. Prepare a CSV file with the following columns:

    • Key: The gift code.
    • ID_or_Name: The Steam game ID or name.
  2. Run the script to generate the PDF:

    python __init__.py --csv path/to/yourfile.csv --output output.pdf
    • --csv: Path to the CSV file containing Keys and IDs or Names.
    • --output: (Optional) Output PDF file name. Default is steam_gift_cards.pdf.

Example

Example CSV file (games.csv):

Key,ID_or_Name
XXXXX-XXXXX-XXXXX,440
XXXXX-XXXXX-XXXXX,Portal 2
XXXXX-XXXXX-XXXXX,The Witcher

Generate the PDF:

python __init__.py --csv games.csv --output my_gift_cards.pdf

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Python script to generate a PDF from a steam Gift Code and application name

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages