Rust
SUMMER COMBAT için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10889048json
{
"response": {
"fps": 240,
"fps_avg": 239,
"entities_count": 19308,
"world_seed": 1337,
"world_size": 5000,
"steam_id": 90284789547615260,
"domain": null,
"id": 10889048,
"ip": "145.239.149.165",
"port": 4444,
"query": 4446,
"color": 0,
"city": "Saarbrücken",
"description": "\nЛучший сервер для тренеровки на девблогах!\r\nРежимы:\r\n- Gungame\r\n- Deathmatch\r\n- Static bots\r\n- Custom games\r\n\r\nVkontakte: vk.summer-rust.top\r\nTelegram: tg.summer-rust.top\r\nDiscord: ds.summer-rust.top",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776322912,
"score": 0,
"last_online": 1776838823,
"icon": null,
"name": "SUMMER COMBAT",
"connect": "145.239.149.165:4444",
"request": "145.239.149.165:4446",
"map": "summer-rust.top",
"gamemode": "Survival",
"version": "2582",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768322487,
"last_update": 1776838823,
"banned": false,
"wipe": 1772872195,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4213,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10889048");
$data = json_decode($json, true);
var_dump($data);