Name is not set on server için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 5732346,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "\nWelcome to Rust-Europe.COM Server ! \r\n \r\n Experience fast-paced Rust with no pay to win! \r\n \r\n Server Features: \r\n \r\n ✷ 5x Gather Rates and 10x Big Loots \r\n ✷ Leveling System \r\n ✷ No BP Wipes \r\n ✷ Instant Craft and Recycle \r\n ✷ Zombies spawning in world \r\n ✷ Zombieland - teleport with command /island \r\n ✷ Free Kits and Custom Spawn items, Extended Backpack \r\n ✷ Offline Raid Protection \r\n ✷ Extender Recycler with possiblity to Craft Recycler \r\n ✷ Furnace splitter, Loot Bouncer, Teleports, Quick Smelt \r\n ✷ Remover Tool, Increased Stack Sizes \r\n ✷ Blueprint Share, Clans, Automatic Auth Sharing etc... \r\n \r\n Join our community today and help us grow! \r\n \r\n Server Map Wipes: \r\n \r\n Every Friday 3:00 AM (GMT+1)",
"game": 252490,
"owner": 36220,
"boosts": 1,
"last_offline": 1754222713,
"last_online": 1751491818,
"icon": null,
"name": "Name is not set on server",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Softcore",
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1723986504,
"last_update": 1754222713,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 13079,
"language": "en",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "EmlsSamoilovs",
"avatar": "0c96366a-9231-4697-abc4-6f0238f6c934.jpg"
},
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/5732346");
$data = json_decode($json, true);
var_dump($data);