03 SE - In the Beninging the story of Ark için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286845909276698",
"domain": null,
"id": 10167293,
"ip": "154.118.246.99",
"port": 7905,
"query": 27315,
"project_id": null,
"color": 0,
"city": "Benoni",
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1781105070,
"last_online": 1781320341,
"icon": null,
"name": "03 SE - In the Beninging the story of Ark",
"connect": "154.118.246.99:7905",
"request": "154.118.246.99:27315",
"map": "ScorchedEarth",
"gamemode": "TestGameMode_C",
"version": "358.24",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "ZA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1756283309,
"last_update": 1781320341,
"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": 5165,
"language": "en",
"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/10167293");
$data = json_decode($json, true);
var_dump($data);