Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Steam API

6 sites Security covered
View on drupal.org

This module provides services to interact with the Steam Web API, allowing you to fetch news, user information, and user statistics for games.

Steam API provides services to interact with steam using the official Steam Web API.

* Please note that only ISteamNews, ISteamUser and ISteamUserStats class are supported actually.

To submit bug reports and feature suggestions, or to track changes: https://drupal.org/project/issues/steam_api

Installation

Install as you would normally install a contributed Drupal module.

Configuration

After the module has been enabled, access /admin/config/services/steam_api and set your Steam API key.

* The configuration form provides a link to the Steam page where you can create or retrieve your Steam API key.

How to use it

3 services provided :

  • steam_api.news (covers calls to ISteamNews methods)
    • getNewsForApp(string $appid, int $count, string $feed_names)
  • steam_api.user (covers calls to ISteamUser methods)
    • getFriendList(string $steamcommunity_id)
    • getPlayerBans(string $steamcommunity_ids)
    • getPlayerSummaries(string $steamcommunity_ids)
  • steam_api.userstats (covers calls to ISteamUserStats methods)
    • getGlobalAchievementPercentagesForApp(string $app_id)
    • getPlayerAchievements(string $steamcommunity_id, string $app_id, string $language = '')
    • getSchemaForGame(string $app_id, string $language = '')
    • getUserStatsForGame(string $steamcommunity_id, string $app_id, string $language = '')

Read more about Services and dependency injection in Drupal 8

Recommended modules

Mainteners

Current maintainers:

Activity

Total releases
3
First release
Feb 2025
Latest release
3 weeks ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.0.0 Stable Jun 24, 2026
2.0.0-beta1 Pre-release Feb 22, 2025
2.0.x-dev Dev Feb 22, 2025