Ethan 4Netplayers için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286052277447699",
"domain": null,
"id": 11587371,
"ip": "38.83.113.32",
"port": 27500,
"query": 27502,
"color": 0,
"city": "Chicago",
"description": null,
"game": 299740,
"owner": null,
"boosts": 1,
"last_offline": 1779730965,
"last_online": 1779408033,
"icon": null,
"name": "Ethan 4Netplayers",
"connect": "38.83.113.32:27500",
"request": "38.83.113.32:27502",
"map": "islands",
"gamemode": "Miscreated: 1011142",
"version": "1011142",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779357445,
"last_update": 1779730965,
"banned": false,
"wipe": null,
"official": true,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 89,
"language": "en",
"parked": false,
"app": {
"id": 69,
"steam_id": 299740,
"name": "Miscreated",
"url": "miscreated"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11587371");
$data = json_decode($json, true);
var_dump($data);