Rust
Survivors-IL Vanilla के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10273886json
{
"response": {
"fps": 238,
"fps_avg": 238,
"entities_count": 61898,
"world_seed": 1267749696,
"world_size": 3500,
"steam_id": "90284682644976648",
"domain": null,
"id": 10273886,
"ip": "5.29.192.174",
"port": 28015,
"query": 28014,
"color": 0,
"city": "Tel Aviv",
"description": "\nISRAELI RUST SERVER VANILLA\r\n LOCAL PLAYERS ONLY(ping above 60 will be banned) \r\n map size 3500 weekly wipe BP wipe at force\r\n NO! cheats/hacks/voice changer/politics/racisiem \r\n Server hosted by Infreno.\r\n enjoy!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776822797,
"score": 0,
"last_online": 1776852024,
"icon": null,
"name": "Survivors-IL Vanilla",
"connect": "5.29.192.174:28015",
"request": "5.29.192.174:28014",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "IL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1757253763,
"last_update": 1776852024,
"banned": false,
"wipe": 1776363889,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3628,
"language": "he",
"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/10273886");
$data = json_decode($json, true);
var_dump($data);