Download the PHP package pschilly/dcs-server-bot-api without Composer
On this page you can find all versions of the php package pschilly/dcs-server-bot-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pschilly/dcs-server-bot-api
More information about pschilly/dcs-server-bot-api
Files in pschilly/dcs-server-bot-api
Package dcs-server-bot-api
Short Description This package acts as an interface service for the DCS Server Bot RestAPI in order to access information from the bot on a remote web server for display purposes.
License MIT
Homepage https://github.com/pschilly/dcs-server-bot-api
Informations about the package dcs-server-bot-api
Laravel DCS Server Bot API Service
This package acts as an interface service for the DCS Server Bot RestAPI in order to access information from the bot on a remote web server for display purposes.
In order for this to be function, you must already have the DCS Server Bot setup and running, including the following plugin / service:
Installation
You can install the package via composer:
Configuration
In order for the service to know where to make the API calls you must identify where the API server is located. By default, the service will look for http://localhost:9876
- this is only going to be useful if you are running your website on the same server as the master node of the DCS Server bot.
To alter this default URL, run one of the following commands:
Although possible, it is not necessary to publish the config file given that the singular config parameter is pulled from your applications .env. Never the less, this is the command and contents of the published config file:
Usage
Import the model:
Call the endpoint that you need based on the DCS Server Bot RestAPI Docs, eg:
This will give you a json array that you can then do with what you please!
For more information on the API - you can enable "debug" mode on your WebService plugin where you will then be able to hit the API server with the following link http://localhost:9678/docs
and get a full rundown on the API calls.
Changelog
Please see CHANGELOG for more information on what has changed recently.
TODO
- Add Caching Support
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Schilly
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of dcs-server-bot-api with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0