承接 jleagle/battlenet-api-client 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

jleagle/battlenet-api-client

最新稳定版本:0.1.0

Composer 安装命令:

composer require jleagle/battlenet-api-client

包简介

A package to retrieve information from the Battle.net API

README 文档

README

Build Status (Scrutinizer) Code Quality (scrutinizer) Latest Stable Version Latest Unstable Version

A package to retrieve information from the Battle.net API (https://dev.battle.net/)

Pros
  • Code hinting
  • Contains all game APIs (Diablo 3, StarCraft 2 and WoW)
  • Contains authed account and community APIs, with helper functions to get OAuth tokens

Usage

Instantiate the package using your games class, passing though your API key, ServerLocation and ResponseLocale:

$warcraft = new Warcraft(
  $key,
  ServerLocations::EU,
  ResponseLocales::EN_GB
);

Example API calls:

// Retrieve auction data
$auctions = $warcraft->getAuctions('outland');

// Retrieve realm list
$realms = $warcraft->getRealms();

// Retrieve achievement details
$achievement = $warcraft->getAchievement(2144);

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-29