slownls/steam_api

一个简单的用于Steam API的PHP库

1.0.0 2020-03-15 17:46 UTC

This package is auto-updated.

Last update: 2024-09-29 05:29:44 UTC


README

一个简单的用于Steam API的PHP库

安装

要安装此库,请使用composer

composer require "slownls/steam_api"

用户函数

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