Skip to content

alemohamad/ci-steam-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

CodeIgniter Library: Steam API

ci-steam-api

About this library

This CodeIgniter's library connects with the Steam API.

Its usage is recommended for CodeIgniter 2 or greater.

Sign in through STEAM

Usage

$this->load->library('SteamApi');

echo $this->steamapi->getLoginLinkCode( site_url('steam/info') );

// Note: the steam user id of the logged in user is in a session variable.

$this->steamapi->getAppNews(STEAM_GAME_ID);

$this->steamapi->getAppGlobalAchivements(STEAM_GAME_ID);

$this->steamapi->getPlayerSummary(STEAM_USER_ID);

$this->steamapi->getFriendList(STEAM_USER_ID);

$this->steamapi->getPlayerAchivements(STEAM_USER_ID, STEAM_GAME_ID);

$this->steamapi->getUserStatsForGame(STEAM_USER_ID, STEAM_GAME_ID);

$this->steamapi->getOwnedGames(STEAM_USER_ID);

$this->steamapi->getRecentlyPlayedGames(STEAM_USER_ID);

$this->steamapi->isPlayingSharedGame(STEAM_USER_ID, STEAM_GAME_ID);

Ale Mohamad

About

CodeIgniter library that connects with the Steam API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages