Dark and Light
Asia-Knight-49 - (v100.54351) için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/812337json
{
"response": {
"steam_id": "90204497966008347",
"domain": null,
"id": 812337,
"ip": "159.138.122.165",
"port": 17777,
"query": 27015,
"color": 0,
"city": "Singapore",
"description": "",
"game": 529180,
"owner": null,
"boosts": 1,
"last_offline": 1773961918,
"score": null,
"last_online": 1776234617,
"icon": null,
"name": "Asia-Knight-49 - (v100.54351)",
"connect": "159.138.122.165:17777",
"request": "159.138.122.165:27015",
"map": "DNL_ALL",
"gamemode": "TestGameMode_C",
"version": "1.0.0.0",
"numplayers": 10,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 56,
"add_date": 1684357728,
"last_update": 1776234617,
"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": 49,
"language": "en",
"parked": false,
"app": {
"id": 180,
"steam_id": 529180,
"name": "Dark and Light",
"url": "dark-and-light"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/812337");
$data = json_decode($json, true);
var_dump($data);