Rust
EVOS RU के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/11259982json
{
"response": {
"fps": 240,
"fps_avg": 238,
"entities_count": 43321,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90284724853738515",
"domain": null,
"id": 11259982,
"ip": "57.128.193.21",
"port": 40000,
"query": 40002,
"color": 0,
"city": "Warsaw",
"description": "\nМы — команда энтузиастов и игроков, стремящихся создать то, чего всегда не хватало другим серверам.\r\n Мы объединили наши идеи, опыт и страсть, чтобы изменить стандартный подход к серверам RUST.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776316312,
"score": 0,
"last_online": 1776825029,
"icon": null,
"name": "EVOS RU",
"connect": "57.128.193.21:40000",
"request": "57.128.193.21:40002",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555185,
"last_update": 1776825029,
"banned": false,
"wipe": 1775224854,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4791,
"language": "pl",
"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/11259982");
$data = json_decode($json, true);
var_dump($data);