Download the PHP package xitox97/laravel-opendota without Composer
On this page you can find all versions of the php package xitox97/laravel-opendota. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xitox97/laravel-opendota
More information about xitox97/laravel-opendota
Files in xitox97/laravel-opendota
Package laravel-opendota
Short Description Laravel PHP Facade/Wrapper for the OpenDota API
License MIT
Homepage https://github.com/xitox97/laravel-opendota
Informations about the package laravel-opendota
Laravel-OpenDota
Unofficial Laravel 7 PHP Facade/Wrapper for the OpenDota API
Support
- Laravel 7+
- OpenDota API (v18.0.0)
All API endpoint supported except explorer and FindMatches
Installation
You can install the package via composer:
API KEY Set up (Optional)
Publish Laravel Opendota config by run below command, and replace the null value with your api-key.
Usage
Every function are return an instance of Illuminate\Http\Client\Response
, Therefore you can use variety of method provided by Laravel HTTP Client. Check more function in LaravelOpenDota
Get player info without Parameter
Get player win lose with Parameter
Refer OpenDota Documentation to know more about exact parameter supported for each endpoint
Get match details
Get players ordered by rank/medal tier
Get list of pro players
Get list of pro matches
Get list of randomly sampled public matches
To view more function just open the LaravelOpenDota file. The function name is similar to OpenDota endpoint.
Credits
License
Copyright © 2020 Farhan Hadi ([email protected])
The MIT License (MIT). Please see License File for more information.