Bird Rust ─ Modded 2x (MAX3) [DUEL | SKIN | CASE | EVENT] için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 1669425,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"d9zhv47kk\",\"type\":\"image\",\"data\":{\"caption\":\"Nikiforov's hardcore server\",\"withBorder\":false,\"withBackground\":false,\"stretched\":true,\"file\":{\"url\":\"https://pic.survivalhost.org/images/2019/04/07/712bc4d43d8fd5c68118d71d48125d26.png\"}}},{\"id\":\"7p98ih4cp\",\"type\":\"paragraph\",\"data\":{\"text\":\"My name is Yuri Nikiforov, my nickname is m1rucus. \\n\\n\\n\\n\\n\\nI create this server for fans of complex game. Map size 4500. \\n\\n\\n\\n\\n\\nRestart once a month. Otherwise, everything is classic.\"}}]",
"game": 252490,
"owner": 78638,
"boosts": 1,
"last_offline": 1763099462,
"last_online": 1762203611,
"icon": null,
"name": "Bird Rust ─ Modded 2x (MAX3) [DUEL | SKIN | CASE | EVENT]",
"connect": null,
"request": null,
"map": "Custom Map",
"gamemode": "Vanilla",
"version": null,
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1698933006,
"last_update": 1763099462,
"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": 13193,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "juriynikiforov",
"avatar": "2ea60cea-c1ec-401d-9906-81f16f779541.jpg"
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/1669425");
$data = json_decode($json, true);
var_dump($data);