polakosz/clash-of-clans-api

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP wrapper for SuperCell's official ClashOfClans API.

v2.1.0 2018-03-10 20:36 UTC

This package is not auto-updated.

Last update: 2020-01-24 17:34:29 UTC


README

Latest Version on Packagist Software License Total Downloads

Install

Via Composer

$ composer require polakosz/clash-of-clans-api

Usage

use PoLaKoSz\ClashOfClansAPI as CoC;
...
$apiKey = 'eyJ0eX...';
$api = new CoC\ClashOfClansApi($apiKey);
$response = $api->getClanyByTag('#Y0PPL9V');

echo $response;

Testing

See this issue.

Contributing

Please see CONTRIBUTING and CODE OF CONDUCT for details.

Security

If you discover any security related issues, please email polakosz@freemail.hu instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.