Skip to content

UplyTech/GameStatsFetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameStatsFetcher

A modular Node.js package for fetching player statistics from gaming platforms such as Steam, Riot, and Activision.

Installation

npm install game-stats-fetcher

Usage

import { GameStatsFetcher } from "game-stats-fetcher";

const gs = new GameStatsFetcher({
  steamApiKey: "STEAM_KEY",
  riotApiKey: "RIOT_KEY",
  activision: { email: "test@mail.com", password: "secret" }
});

// Example usage
const steamStats = await fetcher.steam.getPlayerStats("76561198000000000");
const riotStats = await fetcher.riot.getSummonerByName("PlayerName", "euw1");
const codStats = await fetcher.activision.getWarzoneStats(
  "GamerTag#1234567",
  "battle"
);

Supported Platforms

  • ✅ Steam
  • ✅ Riot (League of Legends, Valorant)
  • ✅ Activision (Warzone, Modern Warfare)

📦 Publishing to npm

npm login
npm publish --access public

Features

  • Modular and extensible architecture
  • Unified API for multiple platforms
  • Easy to integrate into Node.js projects
  • Supports Steam, Riot Games, and Activision

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to add more platforms or improve existing functionality.

Releases

No releases published

Contributors