Rudeflesh [Steam|ff-off|public|18+|classic]#3 için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286773744380946",
"domain": null,
"id": 11586302,
"ip": "46.242.59.46",
"port": 27256,
"query": 27256,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": null,
"game": 224260,
"owner": null,
"boosts": 1,
"last_offline": 1780775066,
"last_online": 1781194240,
"icon": null,
"name": "Rudeflesh [Steam|ff-off|public|18+|classic]#3",
"connect": "46.242.59.46:27256",
"request": "46.242.59.46:27256",
"map": "nmo_chinatown",
"gamemode": "No More Room in Hell",
"version": "1.1.4.2",
"numplayers": 1,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 42,
"add_date": 1779357180,
"last_update": 1781194240,
"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": 90,
"language": "ru",
"parked": false,
"app": {
"id": 6,
"steam_id": 224260,
"name": "No More Room in Hell",
"url": "no-more-room-in-hell"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11586302");
$data = json_decode($json, true);
var_dump($data);