[EU] Facepunch Small 2 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 222,
"fps_avg": 223,
"entities_count": 93047,
"world_seed": 1565661387,
"world_size": 3750,
"steam_id": "90286553913274382",
"domain": null,
"id": 6572161,
"ip": "79.137.98.8",
"port": 28020,
"query": 28021,
"color": 0,
"city": "Gravelines",
"description": "![[EU] Facepunch Small 2](https://files.facepunch.com/Alistair/124/07/2025/9593/fpos.png)\nThis is an official server owned and operated by Facepunch.\r\n\r\nPeople are free to speak whatever language they like. Don't be surprised if you get banned for being abusive.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780401861,
"last_online": 1780554631,
"icon": null,
"name": "[EU] Facepunch Small 2",
"connect": "79.137.98.8:28020",
"request": "79.137.98.8:28021",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1731158585,
"last_update": 1780554631,
"banned": false,
"wipe": 1778175172,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2557,
"language": "fr",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}कोड उदाहरण
php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/6572161");
$data = json_decode($json, true);
var_dump($data);