Skip to content

Nicconike/Steam-Stats

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Steam Stats๐Ÿ“ถ

Automated GitHub Action and Docker container to generate Steam user stats cards for your profile README.

From one Passionate Gamer to Another ๐Ÿป

Badges

Workflow Status

Steam Stats Release CodeQL & Pylint Bandit Codecov MkDocs Deploy Scorecard Security Dependency Review

Code Quality & Coverage

Pylint pre-commit.ci status codecov Quality Gate Status Maintainability Rating Security Rating Reliability Rating Coverage Code Smells Bugs Vulnerabilities Lines of Code Duplicated Lines (%) Technical Debt

Packaging & Deployment

Docker Image Size (tag) Docker Pulls GitHub Release Python Version from PEP 621 TOML PyPI - Version PyPI - Implementation Pepy Total Downloads PyPI - Format PyPI - Status

Environments

GitHub deployments GitHub deployments

Documentation & Repo

Documentation GitHub repo size

License & Security

GitHub License OpenSSF Scorecard OpenSSF Best Practices

Time Tracking

wakatime

Sample Output

Steam Stats Cards

Steam Summary Recently Played Games

Steam Workshop Stats (Optional)

Steam Workshop Stats

Quick Start

  1. Get your Steam Web API Key
  2. Get your Steam ID and Custom ID
  3. Save them as GitHub Secrets & GitHub Variables in your profile repository
  4. Add to your workflow:
name: Steam Stats

on:
  push:
    branches: [master]
  workflow_dispatch:
  schedule:
    # Runs every Monday at 12AM IST (UTC+5:30)
    - cron: "30 18 * * 0"

jobs:
  steam-stats:
    name: Steam Stats
    runs-on: ubuntu-latest
    steps:
      - uses: nicconike/steam-stats@master
        with:
          STEAM_API_KEY: ${{ secrets.STEAM_API_KEY }} # Steam API key env var
          STEAM_ID: ${{ vars.STEAM_ID }} # Steam ID env var
          STEAM_CUSTOM_ID: ${{ vars.STEAM_CUSTOM_ID }} # Custom ID env var
          WORKSHOP_STATS: True # Optional
          LOG_SCALE: True # Optional
  1. Add markdown comments to your README for Steam Stats

    <!-- Steam-Stats start -->
    <!-- Steam-Stats end -->
  2. Add these markdown comments for Steam Workshop Stats (Optional)

    <!-- Steam-Workshop start -->
    <!-- Steam-Workshop end -->

Full Setup Guide

Features

Feature Description
๐ŸŽฎ Player Summary Steam profile stats
๐Ÿ•น๏ธ Recently Played Games Last 2 weeks activity
๐Ÿ› ๏ธ Workshop Stats Unique visitors & subscribers
๐Ÿณ Docker Support Containerized execution
โšก Automated Updates Scheduled via GitHub Actions

View All Features & Configuration

Documentation

Section Description
๐Ÿš€ Getting Started Setup Guide
โš™๏ธ Configuration Feature Flags & Options
๐Ÿ› ๏ธ Troubleshooting Common Issues
๐Ÿค Contributing Developer Guide
๐Ÿ“š API Reference Python Code

Support ๐Ÿ’™

Star โญ this project if you find it useful!

For detailed support options: Support & Contributing Guide


๐Ÿ“– Full Documentation โ€ข ๐Ÿ› Report Issues โ€ข ๐Ÿ’ฌ Discussions