1. Go to this page and download the library: Download gridplay/gridplayapi library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gridplay / gridplayapi example snippets
GridPlay::Name2Key($user_name); // [put] string of the user's UUID key
GridPlay::Key2Name($user_uuid); // [put] string of the user's name
GridPlay::Wmps(); // [get] array shows a list of those using WMPS
GridPlay::getImg($texture_uuid); // [get] array ['img' => (url of pic)]
GridPlay::getProfPic($user_uuid); //[get] array ['img' => (url of pic)]
GridPlay::sendIM($towhouuid, $msg); //[put] array as ['status' => true] if successful
GridPlay::isOnline($uuid); //[put] array as ['isOnline' => true|false]
GridPlay::getGrid($userFromHeader); // [get] gets the grid's initals
GridPlay::getNews($site, $show, $page); // [get] returns news from the news api
Ventalkie::getChannel($search); // [get] array gets all the channels or of $search
GridHaul::getHub($search); // [get] array gets all hubs or of $search
GridHaul::getItems($search); // [get] array same for here
GridHaul::getJobs(); // [get] array shows all current jobs
sh
php artisan vendor:publish --provider="GridPlayAPI\GPAPIServiceProvider"
config/gridplay.php
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.