allyans3/dmarket-auth-api 问题修复 & 功能扩展

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

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

allyans3/dmarket-auth-api

Composer 安装命令:

composer require allyans3/dmarket-auth-api

包简介

DMarket Unofficial Auth API

README 文档

README

Installation

With composer

Run this text in console to install this package:

composer require allyans3/dmarket-auth-api

This package currently offers 38 API calls you can make to DMarket.

Creating new object

//Replace with your own keys
$publicKey = "8397eb8e7f88032eb13dca99a11350b05d290c896a96afd60b119184b1b443c9";
$secretKey = "2de2824ac1752d0ed3c66abc67bec2db553022aa718287a1e773e104303031208397eb8e7f88032eb13dca99a11350b05d290c896a96afd60b119184b1b443c9";

$api = new DMarketAuthApi($publicKey, $secretKey);

Methods

// Used to get detailed response
$api->detailed()->getUserProfile()

// Account
$api->getUserProfile(array $proxy = [])
$api->getUserBalance(array $proxy = [])

// Sell Items
$api->depositAssets(array $postParams, array $proxy = [])
$api->getDepositStatus(string $depositId, array $proxy = [])
$api->getUserOffers(array $queries = [], array $proxy = []) ️️❗️// Deprecated old endpoint
$api->getUserOffersV2(array $queries = [], array $proxy = []) ️️🔸// New endpoint
$api->createBatchOffers(array $postParams, array $proxy = []) ️️🔸// New endpoint
$api->updateBatchOffers(array $postParams, array $proxy = []) ️️🔸// New endpoint
$api->deleteBatchOffers(array $postParams, array $proxy = []) ️️🔸// New endpoint
$api->createUserOffers(array $postParams, array $proxy = []) ️️❗️// Deprecated old endpoint
$api->editUserOffers(array $postParams, array $proxy = []) ️️❗️// Deprecated old endpoint
$api->deleteOffers(array $postParams, array $proxy = []) ️️❗️// Deprecated old endpoint
$api->getMarketItems(array $queries, array $proxy = []) ️️❗️// Deprecated old endpoint

// Inventory/items
$api->getUserInventory(array $queries = [], array $proxy = []) ️❗️// Deprecated old endpoint
$api->getUserInventoryV2(array $queries = [], array $proxy = []) ️️🔸// New endpoint
$api->syncUserInventory(array $postParams, array $proxy = [])
$api->withdrawAssets(array $postParams, array $proxy = [])
$api->getUserItems(array $queries, array $proxy = [])
$api->getCustomizedFees(array $queries, array $proxy = [])

// Sold user items
$api->getClosedUserOffers(array $queries = [], array $proxy = [])

// Buy items
$api->getOffersByTitle(array $queries, array $proxy = []) ️️❗️// Deprecated old endpoint
$api->getTargetsByTitle(string $gameId, string $title, array $proxy = [])
$api->getAggregatedPrices(array $queries, array $proxy = [])
$api->getAggregatedPricesV2(array $postParams, array $proxy = []) ️️🔸// New endpoint
$api->getUserTargets(array $queries = [], array $proxy = []) ️️❗️// Deprecated old endpoint
$api->getUserTargetsV2(array $queries = [], array $proxy = []) ️️🔸// New endpoint
$api->getClosedUserTargets(array $queries = [], array $proxy = [])
$api->createUserTargets(array $postParams, array $proxy = [])
$api->deleteUserTargets(array $postParams, array $proxy = [])
$api->getMarketplaceOffers(array $postParams, array $proxy = []) ️️🔸// New endpoint
$api->buyOffers(array $patchParams, array $proxy = [])

// Aggregator
$api->getLastSales(array $queries, array $proxy = [])

Documentation

https://docs.dmarket.com/v1/swagger.html

allyans3/dmarket-auth-api 适用场景与选型建议

allyans3/dmarket-auth-api 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.42k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2021 年 01 月 10 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 allyans3/dmarket-auth-api 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 allyans3/dmarket-auth-api 我们能提供哪些服务?
定制开发 / 二次开发

基于 allyans3/dmarket-auth-api 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-10