Garry's Mod
TBN | Event Server | [0 / 50] [v2.1.0] için API
Geniş bir entegrasyon yöntemleri yelpazesi sunuyoruz. Bunlardan herhangi birini kullanabilir veya JSON API'sini kullanarak kendinizinkini oluşturabilirsiniz. Yeni bir entegrasyon yöntemi ekleme öneriniz varsa, lütfen bizimle iletişime geçin. Bizimle iletişime geçin
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/581421json
{
"response": {
"steam_id": 85568392922653330,
"domain": null,
"id": 581421,
"ip": "46.4.12.78",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1772755942,
"score": null,
"last_online": 1775843430,
"icon": null,
"name": "TBN | Event Server | [0 / 50] [v2.1.0]",
"connect": "46.4.12.78:27016",
"request": "46.4.12.78:27016",
"map": "gm_construct",
"gamemode": "Star Trek RP",
"version": "2025.03.26",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1668900565,
"last_update": 1775843430,
"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": 934,
"language": "de",
"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/581421");
$data = json_decode($json, true);
var_dump($data);