API pentru Life4Gaming Rust PVE // ARENA // EVENTS usw...
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 185,
"fps_avg": 181,
"entities_count": 97334,
"world_seed": 1082880487,
"world_size": 4000,
"steam_id": "90286189699835917",
"domain": null,
"id": 756915,
"ip": "168.119.10.131",
"port": 28136,
"query": 28139,
"color": 0,
"city": "Falkenstein",
"description": "\nWir haben eine Vielfalt von Events z.b. Armored Train, Air Event uvm... \r\nSkills sollen euch auch nicht zu kurz kommen, einen Skillbaum haben wir natuerlich auch. \r\nIhr wollt dauerhafte Beschaeftigung dann Joint einfach und ueberzeugt euch selbst. \r\nWir sehen uns auf dem Server!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779692606,
"last_online": 1779708624,
"icon": null,
"name": "Life4Gaming Rust PVE // ARENA // EVENTS usw...",
"connect": "168.119.10.131:28136",
"request": "168.119.10.131:28139",
"map": "Life4Gaming Maps",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1677864152,
"last_update": 1779708624,
"banned": false,
"wipe": 1778447385,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2773,
"language": "de",
"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/756915");
$data = json_decode($json, true);
var_dump($data);