igorsgm/tibia-data-api
Composer 安装命令:
composer require igorsgm/tibia-data-api
包简介
A library that allows you to access TibiaData API from your Laravel application.
README 文档
README
Laravel TibiaData API
An open source library that allows you to access TibiaData API from your Laravel app.
TibiaData API is a RESTful API providing information in JSON format containing information from Tibia’s official homepage tibia.com, so you can build your own small tools.
✨ Features
- Characters: Get the pure information from characters of Tibia based on your character search.
- Guilds: List all guilds of a certain world or get detailed information of a certain guild.
- Highscore: List all highscores of a certain world and see who got the right skills to top the list.
- Houses: List all houses in all the different worlds and towns of Tibia.
- News: The latest 6 months of news and articles from tibia.com.
- Worlds: List all worlds of Tibia or list all online players and more info of your favorite world.
1️⃣ Installation
You can install the package via composer:
composer require igorsgm/tibia-data-api
2️⃣ Usage
TibiaDataApi::characters()->get('Bobeek') TibiaDataApi::highscores()->get('Antica', 'sword', 'all') TibiaDataApi::houses()->get('Antica', 'Thais', 'houses') // Guilds TibiaDataApi::guild()->get('Red Rose') TibiaDataApi::guilds()->get('Antica') // Worlds TibiaDataApi::worlds()->getList() TibiaDataApi::worlds()->get('Antica') // News TibiaDataApi::news()->get(3560) TibiaDataApi::news()->getLatestNews() TibiaDataApi::news()->getNewstickers()
Contributing
Please see CONTRIBUTING for details.
Credits
- Tibia and TibiaME are trademarks of CipSoft GmbH. The official website for Tibia is Tibia.com
- TibiaData API
- Simivar
- Igor Moraes
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-15