ICARUS DS [GYMY] için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286844453746719",
"domain": null,
"id": 11638716,
"ip": "82.76.68.35",
"port": 17777,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Giurgiu",
"description": null,
"game": 1985480,
"owner": null,
"boosts": 1,
"last_offline": 1781102070,
"last_online": 1781107282,
"icon": null,
"name": "ICARUS DS [GYMY]",
"connect": "82.76.68.35:17777",
"request": "82.76.68.35:27015",
"map": null,
"gamemode": "Icarus",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 5,
"bots": 0,
"secured": true,
"private": false,
"country": "RO",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779917505,
"last_update": 1781107282,
"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": 4,
"language": "ro",
"parked": false,
"app": {
"id": 1665357,
"steam_id": 1985480,
"name": "Fueled Up Demo",
"url": "fueled-up-demo"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11638716");
$data = json_decode($json, true);
var_dump($data);