NA | SAVAS.GG | #1 | KOTH | VANILLA | ONEGRID için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 240,
"fps_avg": 239,
"entities_count": 8581,
"world_seed": 1337,
"world_size": 1025,
"steam_id": "90286388435790865",
"domain": null,
"id": 11607198,
"ip": "40.160.233.202",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Miami",
"description": "\nBringing back the beloved Savas map from 2016 Rust.\r\n\r\nFeaturing OG King of The Hill, random loot boxes, same feel, new memories to be had!\r\n\r\nump in, and start reminiscing on the good ol' days!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779915499,
"last_online": 1780561231,
"icon": null,
"name": "NA | SAVAS.GG | #1 | KOTH | VANILLA | ONEGRID",
"connect": "40.160.233.202:28015",
"request": "40.160.233.202:28017",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779915499,
"last_update": 1780561231,
"banned": false,
"wipe": 1779648386,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5559,
"language": "en",
"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/11607198");
$data = json_decode($json, true);
var_dump($data);