Garry's Mod
Sacrifice Servers | NEW BP | FastDL | Suits | Gasters | High Ec için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/1461822json
{
"response": {
"steam_id": null,
"domain": null,
"id": 1461822,
"ip": "51.75.174.11",
"port": 27035,
"query": 27035,
"color": 0,
"city": "London",
"description": "",
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1768642533,
"score": null,
"last_online": 1776634325,
"icon": null,
"name": "Sacrifice Servers | NEW BP | FastDL | Suits | Gasters | High Ec",
"connect": "51.75.174.11:27035",
"request": "51.75.174.11:27035",
"map": "gm_flatgrass",
"gamemode": "Sandbox",
"version": "2023.06.28",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": false,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1697310132,
"last_update": 1776634325,
"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": 879,
"language": "en",
"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/1461822");
$data = json_decode($json, true);
var_dump($data);