slownls/gmodstore_api
Composer 安装命令:
composer require slownls/gmodstore_api
包简介
A simple php library for GmodStore API
README 文档
README
A simple php library for GmodStore API
Installation
To install this library use composer
composer require SlownLS/gmodstore_api
Wiki
List of collections
- Users
- Teams
- Addons
- Addon\Coupons
- Addon\Purchases
- Addon\Reviews
- Addon\Stats
- Addon\Versions
To use collection :
use SlownLS\GmodStore\Client; $gmodstore = new Client("gmodstore_token"); $collection = $gmodstore->GetCollection("Users")
Users collection
$collection->GetAPIOwner() // Used to retrieve the user from the API $collection->GetAddons(string steamid64) // Used to retrieve a user's addons $collection->GetPurchases(string steamid64) // Used to retrieve a user's purchases $collection->GetTeams(string steamid64) // Used to retrieve the teams of a user $collection->GetBans(string steamid64) // Used to retrieve a user's banns $collection->GetBadges(string steamid64) // Used to retrieve a user's badges
Teams collection
$collection->GetById(int teamId) // Used to retrieve team information $collection->GetUsers(int teamId) // Used to retrieve users from a team
Addons collection
$collection->GetAll() // Use to retrieve user addons $collection->GetById(int $addonId) // Use to retrieve a specific addon from the user
Addons - Coupons collection
$collection->GetAll(int $addonId) // Used to retrieve coupons from an addon $collection->Create(int $addonId, array $params) // Use to add a coupon for an addon $collection->Update(int $addonId, int $couponId, array $params) // Used to modify a coupon of an addon $collection->GetById(int $addonId, int $couponId) // Used to retrieve information from a coupon $collection->Destroy(int $addonId, int $couponId) // Use to delete a coupon
Addons - Purchases collection
$collection->GetAll(int $addonId) // Used to retrieve the purchases of an addon $collection->Create(int $addonId, array $params) // Use to create a purchase for an addon $collection->GetById(int $addonId, int $purchaseId) // Used to retrieve a purchase of an addon $collection->Revoke(int $addonId, int $purchaseId) // Use to delete a purchase
Addons - Reviews collection
$collection->GetAll(int $addonId) // Used to retrieve all notices of an addon $collection->GetById(int $addonId, int $reviewId) // Used to retrieve an addon review
Addons - Stats collection
$collection->GetAll(int $addonId) // Use to get the stats of an addon
Addons - Versions collection
$collection->GetAll(int $addonId) // Used to get the versions of an addon $collection->GetById(int $addonId, int $versionId) // Use to get a version of an addon $collection->Download(int $addonId) // Use to create a download link for an addon
slownls/gmodstore_api 适用场景与选型建议
slownls/gmodstore_api 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 19 次下载、GitHub Stars 达 0, 最近一次更新时间为 2020 年 03 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「object-oriented」 「slownls」 「gmodstore」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 slownls/gmodstore_api 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 slownls/gmodstore_api 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 slownls/gmodstore_api 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A PSR-7 compatible library for making CRUD API endpoints
An object-oriented approach to SQL generation
PHP Class-based Blueprints for Kirby CMS for better type safety and code completion
Object-oriented custom post type/taxonomies framework for Wordpress
Register your Wordpress REST API endpoints easily
A simple php library for Steam API
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2020-03-17