Rust
Fading Horizon | Solo/Duo | Vanilla के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/6150459json
{
"response": {
"fps": 216,
"fps_avg": 214,
"entities_count": 106369,
"world_seed": 1554169,
"world_size": 4300,
"steam_id": "90284811856156695",
"domain": null,
"id": 6150459,
"ip": "74.217.200.24",
"port": 26910,
"query": 26913,
"color": 0,
"city": "Hong Kong",
"description": "\nSolo/Duo only. Alliances or teaming with other groups is not allowed.\r\n-Map wipes on the first Thursday of the month. BP wipe only if forced.\r\n-Cheating, hacking, use of exploits, racism, homophobia, sexism, or other such behaviors will not be tolerated and will result in a ban.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776258113,
"score": 0,
"last_online": 1776876166,
"icon": null,
"name": "Fading Horizon | Solo/Duo | Vanilla",
"connect": "74.217.200.24:26910",
"request": "74.217.200.24:26913",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "HK",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1728012281,
"last_update": 1776876166,
"banned": false,
"wipe": 1775153383,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3349,
"language": "zh",
"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/6150459");
$data = json_decode($json, true);
var_dump($data);