John Fjordur için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286477821316120",
"domain": null,
"id": 11717300,
"ip": "207.180.206.210",
"port": 31700,
"query": 31715,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1780323965,
"last_online": 1780391521,
"icon": null,
"name": "John Fjordur",
"connect": "207.180.206.210:31700",
"request": "207.180.206.210:31715",
"map": "Fjordur",
"gamemode": "TestGameMode_C",
"version": "361.7",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780323965,
"last_update": 1780391521,
"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": 12409,
"language": "fr",
"parked": false,
"app": {
"id": 67,
"steam_id": 346110,
"name": "ARK: Survival Evolved",
"url": "ark-survival-evolved"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11717300");
$data = json_decode($json, true);
var_dump($data);