hawkiq/larapsn 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

hawkiq/larapsn

Composer 安装命令:

composer require hawkiq/larapsn

包简介

Laravel Package to get Playstation player trophies stats plus few other infos

README 文档

README

About LaraPSN

getting player stats for Playstation trophies is easy task but required paid services around 20$ per month, so since I love gaming and coding I decided to make my own simple API to bring basic information for players such as number of trophies or their avatar and last game played etc..

if you looking for php class without using Laravel you can use this PSNApi

Installation

import package into your project using composer

composer require hawkiq/larapsn

Usage

initial using PSN id

use Hawkiq\Larapsn\HawkiqPSN;
// rest of used classes

$psnID = "hawkiq";
$psnapi = new HawkiqPSN($psnID);

Now you can get All player info using one method

$playerInfo = $psnapi->getInfos();

Here is the final output from getInfos method

{
  "username": "hawkiq ",
  "about": "* Founder of Iraqi PlayStation Players Leaderboard  •  * instagram:hawkiq  •  oJJI IJI oJI IJ",
  "avatar": "https://i.psnprofiles.com/avatars/l/G4613a5e4c.png",
  "trophies": {
    "total": 5595,
    "platinum": 112,
    "gold": 404,
    "silver": 1090,
    "bronze": 3989
  },
  "level": "409",
  "lastgame": "A Plague Tale: Innocence",
  "played": "158",
  "completion": "73.62",
  "complgames": "78",
  "hiddentrophies": 0
}

Security Vulnerabilities

If you discover a security vulnerability within Larapsn, please send an e-mail to OsaMa via me@osama.app. All security vulnerabilities will be promptly addressed.

Preview

this class used in following sites

feel free to contact me if you want to add your site.

License

Larapsn is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-03-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固