Garry's Mod
b5b project 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/11447649json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11447649,
"ip": "45.11.16.76",
"port": 7028,
"query": 7028,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1775846527,
"score": 0,
"last_online": 1775835027,
"icon": null,
"name": "b5b project",
"connect": "45.11.16.76:7028",
"request": "45.11.16.76:7028",
"map": "gm_construct",
"gamemode": "IX: Skeleton",
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774977917,
"last_update": 1775846527,
"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": 4537,
"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/11447649");
$data = json_decode($json, true);
var_dump($data);