Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

11 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages