HORIZOND | STALKER RP | https://discord.gg/bQx6QJSErB için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286519912114197",
"domain": null,
"id": 6272995,
"ip": "185.189.255.118",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780400653,
"last_online": 1780418425,
"icon": null,
"name": "HORIZOND | STALKER RP | https://discord.gg/bQx6QJSErB",
"connect": "185.189.255.118:2302",
"request": "185.189.255.118:2303",
"map": "ExclusionZone",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 69,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 71,
"add_date": 1729365565,
"last_update": 1780418425,
"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": 4964,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/6272995");
$data = json_decode($json, true);
var_dump($data);