Rust
Dead Company | 10X | PVP | ZOMBIES | LOW POP के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/1038302json
{
"response": {
"fps": 18,
"fps_avg": 18,
"entities_count": 116378,
"world_seed": 459687078,
"world_size": 4500,
"steam_id": "90284400627576840",
"domain": null,
"id": 1038302,
"ip": "193.238.237.79",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Vienna",
"description": "\nA chill & fun, moderately-modded, low-population server.\r\n\r\nPVP, Zombies, Minicopter spawns, RHIB spawns, Default Loot, Custom Radio Stations, Monthly Wipe\r\n\r\nMODS\r\n▔▔▔▔\r\n◆ 10x Gathering\r\n◆ 5x Stack Sizes\r\n◆ Instant Crafting\r\n◆ Item/Building Skins\r\n\r\nRULES\r\n▔▔▔▔\r\n◆ Be Nice\r\n◆ Team Limit: 3\r\n◆ No Griefing\r\n◆ No Cheating\r\n◆ No Misbehavior\r\n\r\nCONTACT\r\n▔▔▔▔▔▔\r\n♦ Web: www.dead-company.eu\r\n♦ Email: [email protected]",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776251514,
"score": null,
"last_online": 1776347426,
"icon": null,
"name": "Dead Company | 10X | PVP | ZOMBIES | LOW POP",
"connect": "193.238.237.79:28015",
"request": "193.238.237.79:28017",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AT",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1688737567,
"last_update": 1776347426,
"banned": false,
"wipe": 1775152261,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2846,
"language": "de",
"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/1038302");
$data = json_decode($json, true);
var_dump($data);