承接 bramdevries/guildwars2-php-api 相关项目开发

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

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

bramdevries/guildwars2-php-api

Composer 安装命令:

composer require bramdevries/guildwars2-php-api

包简介

Wrapper around the Guild Wars 2 public API.

README 文档

README

Wrapper around the Guild Wars 2 public API.

The current version supports v1 of the Guild Wars 2 API.

Usage

The easiest way to instantiate is using the following snippet:

$client = new GuildWars2\Client();

You can also set the locale.

$client = new GuildWars2\Client([
	'locale' => 'fr',
]);	

Once you have an instance you have access to all the endpoints.

$client->api('build')->build();

Available methods

Endpoint Method Parameters Example
build build none $client->api('build')->build()
colors colors none $client->api('colors')->colors()
files files none $client->api('files')->files()
files file string signature, int file_id $client->api('files')->file('943538394A94A491C8632FBEF6203C2013443555', 102478)
map continents none $client->api('map')->continents()
map maps none $client->api('map')->maps()
map mapes (optional) int map_id $client->api('map')->maps(15)
map floors int continent_id, int floor $client->api('map')->floors(1, 1)
map names none $client->api('map')->names()
wvw matches none $client->api('wvw')->matches()
wvw objectives none $client->api('wvw')->objectives()
wvw match string match_id $client->api('wvw')->match('2-2')
guild byId string guild_id $client->api('guild')->byId("75FD83CF-0C45-4834-BC4C-097F93A487AF")
guild byName string guild_name $client->api('guild')->byName("Veterans Of Lions Arch")
items items none $client->api('items')->items()
items item int item_id $client->api('items')->item(28445)
items skins none $client->api('items')->skins()
items skin int skin_id $client->api('items')->skin(1350)
items recipes none $client->api('items')->recipes()
items recipe int recipe_id $client->api('items')->recipe(1275)
events names none $client->api('events')->names()
events event (optional) string event_id $client->api('events')->event("4B212997-CEF0-4B2C-91BE-B787A6A32DE9")

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-07-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固