V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
ssshooter

PlayStation 系玩家来看看!做了个奖杯展示页面(含 API),已开源

  •  2
     
  •   ssshooter ·
    ssshooter · Dec 16, 2022 · 2541 views
    This topic created in 1228 days ago, the information mentioned may be changed or developed.

    PSN-node-displayer

    DEMO psn-trophy.ssshooter.com 仓库 https://github.com/ssshooter/PSN-node-displayer

    所有从 PlayStation 拿到的数据都会被缓存 24 小时,所以展示的数据未必是最新的,如果需要缩短缓存时间,可以:

    • 部署后端:PSN-node
    • 修改 .env 里的 VITE_REQUEST_URL
    • 部署前端(点下面按钮就行)

    Deploy with Vercel: Deploy with Vercel

    使用

    • 进入 /#/search 搜索 PSN ID
    • 会被重定向到 /#/userPage?accountId=yourAccountId
    • 你也可以到 /#/friends?accountId=yourAccountId 偷看你好友的奖杯
    • 隐藏功能:用 pick 筛选游戏,例如:/#/userPage?accountId=7044269709970808941&pick=[NPWR13281_00,NPWR08199_00,NPWR25264_00,NPWR05818_00,NPWR07897_00,NPWR15587_00]

    技术栈

    • Vue3
    • TypeScript
    • Vite

    API

    see PSN-node

    感谢

    截图

    截图太长了就直接放链接吧😂

    游戏列表

    https://github.com/ssshooter/PSN-node-displayer/blob/master/screenshot/gameList.png?raw=true

    奖杯列表

    https://github.com/ssshooter/PSN-node-displayer/blob/master/screenshot/trophyList.png?raw=true"

    2 replies    2022-12-18 14:03:05 +08:00
    7gugu
        1
    7gugu  
       Dec 16, 2022
    cooool
    archknight
        2
    archknight  
       Dec 18, 2022 via iPhone
    真不戳
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1150 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 23:12 · PVG 07:12 · LAX 16:12 · JFK 19:12
    ♥ Do have faith in what you're doing.