API pentru FF Main Hardcore - Solo/Duo/Trio - Normal Upkeep
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 200,
"fps_avg": 229,
"entities_count": 100037,
"world_seed": 0,
"world_size": 4250,
"steam_id": "90286605036495874",
"domain": null,
"id": 11502087,
"ip": "90.163.89.136",
"port": 28015,
"query": 28017,
"color": 0,
"city": "La Línea de la Concepción",
"description": "Thank You For Playing FF Main Hardcore\r\n \r\n No Racism - No Cheating - No Griefing\r\n Solo/Duo/Trio\r\n \r\n Roleplaying welcome\r\n New players welcome\r\n \r\n Monthly Map Wipe on Forced Wipe\r\n Blueprints don't wipe\r\n Limited Tech Tree, No Safe Zones\r\n Test Generator available at Outpost\r\n Base Upkeep Cost is set to normal\r\n English, Espanol, Deutsch\r\n Be Nice & Enjoy",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780598072,
"last_online": 1780602637,
"icon": null,
"name": "FF Main Hardcore - Solo/Duo/Trio - Normal Upkeep",
"connect": "90.163.89.136:28015",
"request": "90.163.89.136:28017",
"map": "Procedural Map",
"gamemode": "Hardcore",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "ES",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207189,
"last_update": 1780602637,
"banned": false,
"wipe": 1780598030,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4478,
"language": "es",
"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/11502087");
$data = json_decode($json, true);
var_dump($data);