Rust by G-Portal.com için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8908804,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "![[EU] Tea Project [x3|NOLIMIT|Kits|Mods|11.05]](https://imgur.com/a/sWgHFvl)\nСервер с ускоренным прогрессом (x3), стартовыми наборами (kits), модами и внутриигровыми событиями. Подходит для активной PvP-игры и тех, кто любит модифицированные миры Rust. Лимит игроков в команде: NOLIMITS; Размер карты: 3500; Стаки x10; Рейты x3; Список плагинов: Backpacks, BetterLoot, BuildingSkins, FastOvens, GatherManager, Kits, NTeleportation, SkinBox, StackSizeController",
"game": 252490,
"owner": 120943,
"boosts": 1,
"last_offline": 1763964063,
"last_online": 1763059860,
"icon": null,
"name": "Rust by G-Portal.com",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1746540400,
"last_update": 1763964063,
"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": 13375,
"language": "de",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "TeaProjectSupport",
"avatar": "db36fc09-9d23-4362-ab1b-9d8369fe2ab9.jpg"
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/8908804");
$data = json_decode($json, true);
var_dump($data);