Squad
API pentru ✹↯✭ [PL/ENG] LTW Training #2 | Change map at rangerspolska.pl | Vehicle spawn! | Lead The Way <RangersPL>
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11142717json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11142717,
"ip": "84.200.135.170",
"port": 7793,
"query": 7793,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 393380,
"owner": null,
"boosts": 1,
"last_offline": 1778528598,
"score": 0,
"last_online": 1778541113,
"icon": null,
"name": "✹↯✭ [PL/ENG] LTW Training #2 | Change map at rangerspolska.pl | Vehicle spawn! | Lead The Way <RangersPL>",
"connect": "84.200.135.170:7793",
"request": "84.200.135.170:7793",
"map": "JensensRange_WPMC-TLF",
"gamemode": "Training",
"version": "v10.4.1.604352.2183",
"numplayers": 0,
"maxplayers": 98,
"bots": 0,
"secured": null,
"private": null,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1770815407,
"last_update": 1778541113,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 223,
"language": "de",
"parked": false,
"app": {
"id": 137,
"steam_id": 393380,
"name": "Squad",
"url": "squad"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11142717");
$data = json_decode($json, true);
var_dump($data);