Always small maps/Less Decay için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 35750,
"world_seed": 1336783367,
"world_size": 2750,
"steam_id": "90286750311415811",
"domain": null,
"id": 10896269,
"ip": "91.229.114.45",
"port": 28035,
"query": 28037,
"project_id": null,
"color": 0,
"city": "Chicago",
"description": "\nWe get it! Sometimes the maps are just to large! \r\nWe always try to use maps no larger than 3200,\r\nThis map is 2750 in size\r\nSmooth servers with anti cheat tools installed\r\nRelax and have fun!!\r\nSlight mod this month,\r\nScrap and resource gathering adjustments\r\nStack size increase and Furnace speeds increased\r\nMy mini commands /mymini /fmini /nomini",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780596862,
"last_online": 1780921832,
"icon": null,
"name": "Always small maps/Less Decay",
"connect": "91.229.114.45:28035",
"request": "91.229.114.45:28037",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768383800,
"last_update": 1780921832,
"banned": false,
"wipe": 1780597100,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4141,
"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/10896269");
$data = json_decode($json, true);
var_dump($data);