slownls/steam_api

A simple php library for Steam API

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/slownls/steam_api

1.0.0 2020-03-15 17:46 UTC

This package is auto-updated.

Last update: 2025-09-29 02:21:52 UTC


README

A simple php library for Steam API

Installation

To install this library use composer

composer require "slownls/steam_api"

User functions

User::IsLogged() // Whether the user is logged in.

User::IsReturned() // Used to see if the player has logged in with steam

User::Login() // Used to redirect the user to the steam login page.

User::Auth() // Used to log the user in.

User::Logout() // Used to log the user out.

User::GetLocalInfo(string $key) // Used to retrieve information in the session

User::GetInfos(string $urlOrSteamid) // Used to retrieve the information of a steam user

User::GetFriends(string $steamid) // Used to retrieve a user's friends

User::GetGames(string $steamid) // Used to retrieve a user's games