Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/junlarsen/riotquest

[Deprecated] PHP 7.1+ Library for the Riot Games API
https://github.com/junlarsen/riotquest

api-client api-framework league-of-legends php php-7 riot-api riot-api-v4 riot-games-api v4

Last synced: 3 months ago
JSON representation

[Deprecated] PHP 7.1+ Library for the Riot Games API

Awesome Lists containing this project

README

        

# RiotQuest — API Framework

RiotQuest is a modern PHP 7.1+ framework for the League of Legends API

The framework aims at giving you a simple and elegant way to interact with the API.

Here's a list of some of RiotQuest's features.

- Automatic Rate Limiting
- Automatic Caching
- Laravel Collections over primitive Arrays
- Environment Variables Support
- Laravel Integrations
- DataDragon downloader
- Automatically updating DataDragon copies
- Localization available for DataDragon
- Laravel-like Syntax

The entire project is licensed under the MIT License.

# Getting Started

## Example

Make a request to Summoner V4 on EUW with Summoner Name "supergrecko"

```php
name('supergrecko');
?>
```

## Documentation

The documentation for RiotQuest can be located at https://riotquest.supergrecko.dev/

There is also a mirror available at https://riotquest.netlify.com/

## Prerequisites

The library uses Composer for class autoloading and dependency management. Here is a list of things you'll need to get started with RiotQuest.

- PHP 7.1+
- ext-json
- ext-curl
- Composer

## Installation

To install RiotQuest, simply install it using Composer.

```bash
$ composer require supergrecko/riot-quest
```