Skip to main content

Steam Adapter for Idiomark

Fetches game library, achievements, reviews, and profile data from Steam Web API for personality analysis.

Features​

  • ✅ Game library with playtime statistics
  • ✅ Achievement data (completionist patterns)
  • ✅ User reviews (rich text content for personality)
  • ✅ Workshop contributions (creativity signals)
  • ✅ Friend list (social connections)
  • ✅ Profile information
  • ✅ Rate limiting (300 requests/minute)
  • ✅ Automatic Steam ID resolution from vanity URLs

Authentication​

Requires a Steam Web API Key:

  1. Get your API key at steamcommunity.com/dev
  2. Register with your Steam account
  3. Use the key with this adapter
import { createSteamAdapter } from '@idiomark/adapter-steam'

const adapter = createSteamAdapter('YOUR_API_KEY', {
steamId: '76561198000000000', // Optional
username: 'gaben' // Optional vanity URL
})

// Authenticate
await adapter.authenticate()

// Fetch data
const data = await adapter.getStructuredOutput({
includeLibrary: true,
includeAchievements: true,
includeReviews: true,
includeWorkshop: true
})

Personality Signals Extracted​

Signal TypeDescription
Playstylecompletionist, explorer, competitive, social, or casual
Genre PreferencesMost played game genres
Dedicationlow, medium, high, or extreme (based on playtime)
Achievement RatePercentage of achievements unlocked
Social GamingCo-op vs competitive playtime analysis
CommunicationReview text analysis (sentiment, vocabulary)
CreativityWorkshop contributions and mods

API Endpoints Used​

EndpointPurpose
ISteamUser/GetPlayerSummariesProfile data
IPlayerService/GetOwnedGamesGame library
ISteamUserStats/GetPlayerAchievementsAchievements
ISteamUser/GetReviewsUser reviews
ISteamRemoteStorage/GetPublishedFileDetailsWorkshop items
ISteamUser/GetFriendListFriend list
ISteamUser/ResolveVanityURLUsername to Steam ID

Rate Limits​

  • 300 requests per minute (conservative limit)
  • ~100,000 calls per day (Steam's actual limit)
  • Automatic throttling built-in

Data Types​

interface SteamProfileStats {
totalGames: number
totalPlaytime: number // Hours
favoriteGenres: string[]
achievementCount: number
achievementCompletionRate: number
reviewCount: number
workshopContributions: number
friendCount: number
accountAge: number // Days
mostPlayedGames: Array<{
name: string
playtime: number
}>
genrePreferences: Array<{
genre: string
totalPlaytime: number
gameCount: number
}>
}

License​

MIT