Rust
API для
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11305034json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11305034,
"ip": "5.181.183.229",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Istanbul",
"description": "![[TR/EU] ISTANBUL 2X Solo/Duo/Trio Yeni Basliyanlar](https://i.hizliresim.com/GA0RVi.png)\nKendine guveniyormusun......\r\n * Harita wipe haftalık - Bp wipe haftalık. \r\n * Takim Oyuncu Sayisı 3 Kisiliktir İttifak- takımlaşma yasak \r\n * Harita: Procedural Map Haritası. \r\n * 50% daha az bakim masrafı. \r\n * Hile kullanmak ya da yararlanmak yasaktır. Yetkili taklidi yapmak yasaktır. \r\n * Dini Milli Ve Aile Degerlere Kufur Kesinlikle Yasaktır. \r\n * Server Vip Yoktur Herkes Esitir. \r\n * Silme Suresi Haftalık Cuma Map 18/00\r\n * ADMIN 20/00 02/00 ONLINE \r\n * Kuralara Uymayanlar Bann+Baseleri Silinir \r\n * Sikayetlerinizi SITE Tıklayın iletin.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776825160,
"score": 0,
"last_online": 1776120017,
"icon": null,
"name": null,
"connect": null,
"request": "5.181.183.229:28017",
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": null,
"private": false,
"country": "TR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774592877,
"last_update": 1776825160,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 9239,
"language": "tr",
"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.ru/servers/11305034");
$data = json_decode($json, true);
var_dump($data);