Miscreated
Deathmatch - Wymann's event map için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/5856918json
{
"response": {
"steam_id": "90284744559608861",
"domain": null,
"id": 5856918,
"ip": "176.196.37.37",
"port": 62090,
"query": 62092,
"color": 0,
"city": "Kiselëvsk",
"description": null,
"game": 299740,
"owner": null,
"boosts": 1,
"last_offline": 1776606200,
"score": 0,
"last_online": 1776799874,
"icon": null,
"name": "Deathmatch - Wymann's event map",
"connect": "176.196.37.37:62090",
"request": "176.196.37.37:62092",
"map": "event_deathmatch_map",
"gamemode": "Miscreated: 1011142",
"version": "1011142",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": true,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1725529603,
"last_update": 1776799874,
"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": 26,
"language": "ru",
"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/5856918");
$data = json_decode($json, true);
var_dump($data);