ARK: Survival Evolved
ARK Dedicated server için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/5055003json
{
"response": {
"steam_id": "90197961704121375",
"domain": null,
"id": 5055003,
"ip": "160.251.202.109",
"port": 7777,
"query": 27015,
"color": 0,
"city": "Chiyoda City",
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1774156928,
"score": 0,
"last_online": 1776222624,
"icon": null,
"name": "ARK Dedicated server",
"connect": "160.251.202.109:7777",
"request": "160.251.202.109:27015",
"map": "TheIsland",
"gamemode": "TestGameMode_C",
"version": "358.24",
"numplayers": 1,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": true,
"country": "JP",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1720616554,
"last_update": 1776222624,
"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": 3254,
"language": "ja",
"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/5055003");
$data = json_decode($json, true);
var_dump($data);