jeppevinkel/steam-search
Composer 安装命令:
composer require jeppevinkel/steam-search
包简介
API for searching on the Steam store.
README 文档
README
Api for searching games from the Steam store. This search API works by calling the regular steam store page and scraping the results from the page. It doesn't yet support scrolling the page, so it might be limited in the number of results per search query.
Installation
Use composer to install the package.
composer require jeppevinkel/steam-search
Usage
use SteamSearch\SteamSearch; $steamSearch = new SteamSearch(); $queryBuilder = QueryBuilder::create() ->search('counter-strike') ->sortByReleaseDate(); $result = $steamSearch->search($queryBuilder); // Results can also be filtered by max price. $queryBuilder = QueryBuilder::create() ->search('counter-strike') ->sortByReleaseDate() ->maxPrice(50); // Valid values for maxPrice are: // 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60 // To get all results, use maxPrice(-1), this is also the default value.
The result is an array of SearchResult objects. They each have the following properties:
public string $title; public int $appId; public string $url; public ?Carbon $releaseDate; public string $reviewSummary;
Docs
https://jeppevinkel.github.io/steam-search
Contributing
Pull requests are welcome. For design changes, please open an issue to discuss what you would like to change.
License
jeppevinkel/steam-search 适用场景与选型建议
jeppevinkel/steam-search 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 1, 最近一次更新时间为 2022 年 03 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「search」 「store」 「steam」 「games」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 jeppevinkel/steam-search 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jeppevinkel/steam-search 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 jeppevinkel/steam-search 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Laravel package to retrieve data from Google Search Console
Indexed Search Autocomplete - Extends the TYPO3 Core Extension Indexed_Search searchform with an autocomplete feature.
Abstraction Layer to index and search entities
Admin Hub for GetCandy. A modern headless e-commerce solution for Laravel PHP framework.
A PSR-7 compatible library for making CRUD API endpoints
Simple php store locator based on a googlesheet with gsx api
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-03-04