API pentru The Oxidize Experience | PvP | Just Wiped June 4th
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 224,
"fps_avg": 224,
"entities_count": 43939,
"world_seed": 459,
"world_size": 2750,
"steam_id": "90286604596507678",
"domain": null,
"id": 11607384,
"ip": "173.237.43.79",
"port": 28524,
"query": 28525,
"color": 0,
"city": "Dallas",
"description": "\n--- A Unique Vanilla Rust Experience --- \r\n \r\n * Kill or Be Killed the way Facepunch Intended \r\n \r\n ---FEATURES--- \r\n * Weekly Wipe Thursday 11am Pacific \r\n * Custom Nuke Wipe Event \r\n * BPs wipe on Force Wipe Only \r\n * Active Admins \r\n * Strong Anti-Cheat \r\n --- * Zero Tolerance for Cheating/Hacking \r\n * No EAC/VAC Ban Evasion",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780597470,
"last_online": 1780626626,
"icon": null,
"name": "The Oxidize Experience | PvP | Just Wiped June 4th",
"connect": "173.237.43.79:28524",
"request": "173.237.43.79:28525",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 2,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1779915504,
"last_update": 1780626626,
"banned": false,
"wipe": 1780597515,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1572,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11607384");
$data = json_decode($json, true);
var_dump($data);