Rust
EBIRUST X1000000|MAZE|CLANS|BATTLEFIELD|HARDPVP|X100000000000 के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/556973json
{
"response": {
"fps": 29,
"fps_avg": 3,
"entities_count": 78479,
"world_seed": 1337,
"world_size": 3000,
"steam_id": 90284798322889740,
"domain": null,
"id": 556973,
"ip": "195.18.27.231",
"port": 35887,
"query": 35888,
"color": 0,
"city": "Moscow",
"description": "\nDISCORD.GG/zemr8qZhrp\r\n\r\n•Сервер работает более 4 лет! |The server has been running for more than 4 years!\r\n• Barren карта для большого FPS! \r\n• Активная неиграющая администрация!\r\n• Бесплатные привилегии за наигранные часы!\r\n• Быстрая добыча ресурсов! | A lot of resources!\r\n• Множество китов и удобных плагинов! | Lots of whales and handy plugins!\r\n• Мгновенный крафт без верстака | Instant crafting without a workbench\r\n• Можно сохранить свой сет | You can save your set\r\n• Телепорт, клановый вертолет, кланы, pvp маркер | Teleport, clan helicopter, clans, pvp marker",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775476328,
"score": null,
"last_online": 1776835354,
"icon": null,
"name": "EBIRUST X1000000|MAZE|CLANS|BATTLEFIELD|HARDPVP|X100000000000",
"connect": "195.18.27.231:35887",
"request": "195.18.27.231:35888",
"map": "BARREN_PLUS_EBIRUST",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1665918922,
"last_update": 1776835354,
"banned": false,
"wipe": 1776319137,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1570,
"language": "ru",
"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/556973");
$data = json_decode($json, true);
var_dump($data);