Garry's Mod
BLACKLIGHT - HL2RP | https://discord.gg/w5WAj9egWt için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/10673079json
{
"response": {
"steam_id": "85568392935670333",
"domain": null,
"id": 10673079,
"ip": "45.43.163.62",
"port": 26026,
"query": 26026,
"color": 0,
"city": "Paris",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1776732199,
"score": 0,
"last_online": 1776796241,
"icon": null,
"name": "BLACKLIGHT - HL2RP | https://discord.gg/w5WAj9egWt",
"connect": "45.43.163.62:26026",
"request": "45.43.163.62:26026",
"map": "rp_city17_build210_night",
"gamemode": "IX: HL2 RP",
"version": "2025.03.26",
"numplayers": 1,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1764580553,
"last_update": 1776796241,
"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": 561,
"language": "fr",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10673079");
$data = json_decode($json, true);
var_dump($data);