bramdevries/guildwars2-php-api

Wrapper around the Guild Wars 2 public API.

1.0 2014-07-13 09:44 UTC

This package is auto-updated.

Last update: 2024-10-29 04:14:36 UTC


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