承接 b3rs3rk/steamfront 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

b3rs3rk/steamfront

Composer 安装命令:

composer require b3rs3rk/steamfront

包简介

PHP Wrapper for Accessing the Steam Storefront API

README 文档

README

This is a simple wrapper for accessing the very lightweight API that Steam offers for its Big Picture Mode. It provides detailed application information, without being constrained to a particular Steam user's library like their Web API.

This makes it especially useful for referencing large amount of information in which you have the Steam App ID readily available.

You can either use the Includes.php file and do a manual clone, or you can do a composer based install and use autoloading namespaces.

Once you've got it running (autoload used below), simply invoke the client and perform a sample query:

<?php

use b3rs3rk\steamfront\Main;

$client = new b3rs3rk\steamfront\Main(
	[
		'country_code' => 'us',
		'local_lang' => 'english'
	]
);

$data = $client->getFeaturedApps();

print_r($data);

exit;

API framework was footprinted from here.

Http::get function was a slight rip off of @Moinax's function.

Enjoy - b3rs3rk

统计信息

  • 总下载量: 32.71k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 未知