Skip to content

punkrelique/squaddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Squaddy

This project fetches and displays game statistics for a specified Steam user using the MySquadStats and Steam APIs. The stats include the playtime of a Squad and are displayed in a tabular format in the console.

Requirements

  • .NET SDK
  • An environment variable SQUADDY_STEAM_API_KEY set with your Steam API key.

Setup

  1. Clone the repository:
git clone <repository-url>
cd <repository-directory> 
  1. Set the Steam API Key:
    Make sure to set the SQUADDY_STEAM_API_KEY environment variable with your Steam API key:
export SQUADDY_STEAM_API_KEY=your_steam_api_key
  1. Run the script:
    Execute the script with the required arguments:
dotnet fsi script.fsx <username> <caseComparison> <matchType> 
  • <username>: The username to search for.
    • <caseComparison>: The case comparison type. Options are:
      • ignorecase or followcase.
    • <matchType>: The match type. Options are:
      • contains or exactly.

Example

To run the script for a user with username "exampleUser", case-insensitive comparison, and exact match:

dotnet fsi squaddy.fsx "exampleUser" ignorecase exactly

Thanks to

About

find Squad player and their Steam profile with username using https://mysquadstats.com/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages