deszczynskiprzemyslaw/tibiadata-api-client

tibiadata-api-client by Przemyslaw Deszczynski

v1.0.0 2022-06-24 16:33 UTC

This package is auto-updated.

Last update: 2025-06-29 01:52:49 UTC


README

Packagist Latest Stable Version Total Downloads

Tibiadata API / API ze strony Tibia.com

API Docs

https://api.tibiadata.com
https://docs.tibiadata.com/

Installation

composer require deszczynskiprzemyslaw/tibiadata-api-client

Supported Versions

Version PHP version HTTP client
1.x >= 8.0 cURL

Methods

character(string $name): Characters
creature(string $race): Creature
creatures(): Creatures
fansites(): Fansites
guild(string $name): Guilds
guilds(string $world): Guilds
highscores(string $world, string $category, string $vocation): Highscores
house(string $world, int $houseId): House
houses(string $world, string $town): Houses
killStatistics(string $world): Killstatistics
newsArchive(): News
newsArchiveWithDaysFilter(int $days): News
newsId(int $news_id): News
newsLatest(): News
newsNewsticker(): News
spell(string $spell_id): Spells
spells(): Spells
world(string $name): Worlds
worlds(): Worlds

Usage

<?php

require_once './vendor/autoload.php';

$client = new TibiaDataApi\TibiaDataApiClient;
$response = $client->character('Goraca');
echo $response->character->name // Goraca